Added a disable/enable method to the hotkey center
[ITKit.git] / ITHotKeyCenter.h
index e984bc5..347110f 100755 (executable)
@@ -1,22 +1,35 @@
-//
-//  ITHotKeyCenter.h
-//
-//  Created by Quentin Carnicelli on Sat Aug 02 2003.
-//  Copyright (c) 2003 iThink Software. All rights reserved.
-//
+/*
+ *     ITKit
+ *  ITHotKeyCenter
+ *
+ *  Original Author : Quentin Carnicelli <...>
+ *   Responsibility : Kent Sutherland <kent.sutherland@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
+ *
+ *  Copyright (c) 2002 - 2003 iThink Software.
+ *  All Rights Reserved
+ *
+ */
+
 
 #import <AppKit/AppKit.h>
 
+
 @class ITHotKey;
 
+
 @interface ITHotKeyCenter : NSObject
 {
        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;
 
@@ -24,4 +37,5 @@
 
 - (void)sendEvent: (NSEvent*)event;
 
+
 @end