X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/5a5f8385d7cf8bca82ac4bafe96d1dd313a1bc24..1d5525ced75adc1fe1508e8c19fcc31af129464e:/ITHotKeyCenter.h diff --git a/ITHotKeyCenter.h b/ITHotKeyCenter.h index 3c8bb4c..347110f 100755 --- a/ITHotKeyCenter.h +++ b/ITHotKeyCenter.h @@ -22,10 +22,14 @@ { NSMutableDictionary* mHotKeys; //Keys are NSValue of EventHotKeyRef BOOL mEventHandlerInstalled; + BOOL _enabled; } + (id)sharedCenter; +- (BOOL)isEnabled; +- (void)setEnabled:(BOOL)flag; + - (BOOL)registerHotKey: (ITHotKey*)hotKey; - (void)unregisterHotKey: (ITHotKey*)hotKey;