git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using the 10.4 SDK to build universal
[ITKit.git]
/
ITHotKeyCenter.h
diff --git
a/ITHotKeyCenter.h
b/ITHotKeyCenter.h
old mode 100755
(executable)
new mode 100644
(file)
index
e984bc5
..
153b2ca
--- a/
ITHotKeyCenter.h
+++ b/
ITHotKeyCenter.h
@@
-1,27
+1,34
@@
-//
-// ITHotKeyCenter.h
-//
-// Created by Quentin Carnicelli on Sat Aug 02 2003.
-// Copyright (c) 2003 iThink Software. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
+/*
+ * ITKit
+ * ITHotKeyCenter.h
+ *
+ * Copyright (c) 2005 by iThink Software.
+ * All Rights Reserved.
+ *
+ * $Id$
+ *
+ */
+
+#import <Cocoa/Cocoa.h>
@class ITHotKey;
@class ITHotKey;
-@interface ITHotKeyCenter : NSObject
-{
- NSMutableDictionary* mHotKeys; //Keys are NSValue of EventHotKeyRef
- BOOL
mEventHandlerInstal
led;
+@interface ITHotKeyCenter : NSObject
{
+ NSMutableDictionary *mHotKeys; //Keys are NSValue of EventHotKeyRef
+ BOOL mEventHandlerInstalled;
+ BOOL
_enab
led;
}
+ (id)sharedCenter;
}
+ (id)sharedCenter;
-- (BOOL)registerHotKey: (ITHotKey*)hotKey;
-- (void)unregisterHotKey: (ITHotKey*)hotKey;
+- (BOOL)isEnabled;
+- (void)setEnabled:(BOOL)flag;
+
+- (BOOL)registerHotKey:(ITHotKey *)hotKey;
+- (void)unregisterHotKey:(ITHotKey *)hotKey;
-- (NSArray*)allHotKeys;
+- (NSArray
*)allHotKeys;
-- (void)sendEvent:
(NSEvent
*)event;
+- (void)sendEvent:
(NSEvent
*)event;
-@end
+@end
\ No newline at end of file