X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/4f3da8543caacbaf1ce219e547e24a5490bee090..9ca04accfdeca9935e89bad1137941cfee16be9b:/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;