aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/MASShortcut.h')
-rw-r--r--Framework/MASShortcut.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Framework/MASShortcut.h b/Framework/MASShortcut.h
index f1e489c..b7ed55c 100644
--- a/Framework/MASShortcut.h
+++ b/Framework/MASShortcut.h
@@ -1,14 +1,4 @@
#import "MASKeyCodes.h"
-#import <AppKit/AppKit.h>
-
-#define MASShortcutChar(char) [NSString stringWithFormat:@"%C", (unsigned short)(char)]
-#define MASShortcutClear(flags) (flags & (NSControlKeyMask | NSShiftKeyMask | NSAlternateKeyMask | NSCommandKeyMask))
-#define MASShortcutCarbonFlags(cocoaFlags) (\
- (cocoaFlags & NSCommandKeyMask ? cmdKey : 0) | \
- (cocoaFlags & NSAlternateKeyMask ? optionKey : 0) | \
- (cocoaFlags & NSControlKeyMask ? controlKey : 0) | \
- (cocoaFlags & NSShiftKeyMask ? shiftKey : 0))
-
@interface MASShortcut : NSObject <NSSecureCoding>