Added a disable/enable method to the hotkey center
[ITKit.git] / ITHotKeyCenter.h
index 3c8bb4c..347110f 100755 (executable)
 {
        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;