aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASHotKey.h
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/MASHotKey.h')
-rw-r--r--Framework/MASHotKey.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Framework/MASHotKey.h b/Framework/MASHotKey.h
new file mode 100644
index 0000000..1d267e4
--- /dev/null
+++ b/Framework/MASHotKey.h
@@ -0,0 +1,12 @@
+#import "MASShortcut.h"
+
+extern FourCharCode const MASHotKeySignature;
+
+@interface MASHotKey : NSObject
+
+@property(readonly) UInt32 carbonID;
+@property(copy) dispatch_block_t action;
+
++ (instancetype) registeredHotKeyWithShortcut: (MASShortcut*) shortcut;
+
+@end