diff options
Diffstat (limited to 'Framework/MASShortcutMonitor.h')
| -rw-r--r-- | Framework/MASShortcutMonitor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Framework/MASShortcutMonitor.h b/Framework/MASShortcutMonitor.h index c29747c..5c0daa2 100644 --- a/Framework/MASShortcutMonitor.h +++ b/Framework/MASShortcutMonitor.h @@ -2,8 +2,13 @@ @interface MASShortcutMonitor : NSObject +- (instancetype) init __unavailable; ++ (instancetype) sharedMonitor; + - (void) registerShortcut: (MASShortcut*) shortcut withAction: (dispatch_block_t) action; - (BOOL) isShortcutRegistered: (MASShortcut*) shortcut; + - (void) unregisterShortcut: (MASShortcut*) shortcut; +- (void) unregisterAllShortcuts; @end |
