Bug 749500 Define new API for 10.5 SDK r=smichaud

This commit is contained in:
Masayuki Nakano 2012-04-30 08:43:21 +09:00
parent 0c2b4c6934
commit 40e869505f

View File

@ -170,6 +170,13 @@ extern "C" long TSMProcessRawKeyEvent(EventRef carbonEvent);
- (long long)_scrollPhase;
@end
#if !defined(MAC_OS_X_VERSION_10_6) || \
MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
@interface NSEvent (SnowLeopardEventFeatures)
+ (NSUInteger)pressedMouseButtons;
@end
#endif
// The following section, required to support fluid swipe tracking on OS X 10.7
// and up, contains defines/declarations that are only available on 10.7 and up.
// [NSEvent trackSwipeEventWithOptions:...] also requires that the compiler