aboutsummaryrefslogtreecommitdiffstats
path: root/MASShortcut+Monitoring.h
diff options
context:
space:
mode:
authorVadim Shpakovski2012-09-19 12:43:39 +0300
committerVadim Shpakovski2012-09-19 12:43:39 +0300
commit4099b62587959708bd02d1c49ec1c8fa39448cf4 (patch)
treebf5a851450f9795286d374d49c2a0f11d2318114 /MASShortcut+Monitoring.h
parent243aee3038ed23c7f8b96f54871bae00a3be8a41 (diff)
downloadMASShortcut-4099b62587959708bd02d1c49ec1c8fa39448cf4.tar.bz2
Isolates monitoring code from data.1.1
Diffstat (limited to 'MASShortcut+Monitoring.h')
-rw-r--r--MASShortcut+Monitoring.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/MASShortcut+Monitoring.h b/MASShortcut+Monitoring.h
new file mode 100644
index 0000000..aa8f224
--- /dev/null
+++ b/MASShortcut+Monitoring.h
@@ -0,0 +1,8 @@
+#import "MASShortcut.h"
+
+@interface MASShortcut (Monitoring)
+
++ (id)addGlobalHotkeyMonitorWithShortcut:(MASShortcut *)shortcut handler:(void (^)())handler;
++ (void)removeGlobalHotkeyMonitor:(id)monitor;
+
+@end