git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabling garbage collection support.
[ITKit.git]
/
ITHotKeyCenter.h
diff --git
a/ITHotKeyCenter.h
b/ITHotKeyCenter.h
old mode 100755
(executable)
new mode 100644
(file)
index
347110f
..
e0ab5e0
--- a/
ITHotKeyCenter.h
+++ b/
ITHotKeyCenter.h
@@
-1,28
+1,19
@@
/*
* ITKit
/*
* ITKit
- *
ITHotKeyCenter
+ *
ITHotKeyCenter.h
*
*
- * 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
+ * Copyright (c) 2005 iThink Software
*
*/
*
*/
-
-#import <AppKit/AppKit.h>
-
+#import <Cocoa/Cocoa.h>
@class ITHotKey;
@class ITHotKey;
-
-@interface ITHotKeyCenter : NSObject
-{
- NSMutableDictionary* mHotKeys; //Keys are NSValue of EventHotKeyRef
- BOOL mEventHandlerInstalled;
- BOOL _enabled;
+@interface ITHotKeyCenter : NSObject {
+ NSMutableDictionary *mHotKeys; //Keys are NSValue of EventHotKeyRef
+ BOOL mEventHandlerInstalled;
+ BOOL _enabled;
}
+ (id)sharedCenter;
}
+ (id)sharedCenter;
@@
-30,12
+21,11
@@
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)flag;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)flag;
-- (BOOL)registerHotKey: (ITHotKey*)hotKey;
-- (void)unregisterHotKey: (ITHotKey*)hotKey;
-
-- (NSArray*)allHotKeys;
+- (BOOL)registerHotKey:(ITHotKey *)hotKey;
+- (void)unregisterHotKey:(ITHotKey *)hotKey;
-- (
void)sendEvent: (NSEvent*)event
;
+- (
NSArray *)allHotKeys
;
+- (void)sendEvent:(NSEvent *)event;
-@end
+@end
\ No newline at end of file