diff options
| author | Vadim Shpakovski | 2012-09-19 12:36:53 +0300 |
|---|---|---|
| committer | Vadim Shpakovski | 2012-09-19 12:36:53 +0300 |
| commit | 243aee3038ed23c7f8b96f54871bae00a3be8a41 (patch) | |
| tree | dc993f7c1230ee02971271418585a7e33ab6af02 /MASShortcut.h | |
| parent | 723eeb43460c219310c77b3ba369efb0326137aa (diff) | |
| download | MASShortcut-243aee3038ed23c7f8b96f54871bae00a3be8a41.tar.bz2 | |
Adds support for direct monitoring shortcuts.
Diffstat (limited to 'MASShortcut.h')
| -rw-r--r-- | MASShortcut.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MASShortcut.h b/MASShortcut.h index 3c6c109..a5c8fa9 100644 --- a/MASShortcut.h +++ b/MASShortcut.h @@ -51,4 +51,7 @@ enum { - (BOOL)isTakenError:(NSError **)error; ++ (id)addGlobalHotkeyMonitorWithShortcut:(MASShortcut *)shortcut handler:(void (^)())handler; ++ (void)removeGlobalHotkeyMonitor:(id)monitor; + @end |
