Huge audit of ITKit, mostly everything has been updated to current coding
[ITKit.git] / ITKeyComboPanel.h
old mode 100755 (executable)
new mode 100644 (file)
index fbe18aa..e23f6ee
@@ -1,40 +1,41 @@
-//
-//  ITKeyComboPanel.h
-
-//
-//  Created by Quentin Carnicelli on Sun Aug 03 2003.
-//  Copyright (c) 2003 iThink Software. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
+/*
+ *     ITKit
+ *     ITKeyComboPanel.h
+ *
+ *     Copyright (c) 2005 by iThink Software.
+ *     All Rights Reserved.
+ *
+ *     $Id$
+ *
+ */
+
+#import <Cocoa/Cocoa.h>
 
 @class ITKeyBroadcaster;
 @class ITKeyCombo;
 @class ITHotKey;
 
-@interface ITKeyComboPanel : NSWindowController
-{
-       IBOutlet NSTextField*           mTitleField;
-       IBOutlet NSTextField*           mComboField;
-       IBOutlet ITKeyBroadcaster*      mKeyBcaster;
-
-       NSString*                               mTitleFormat;
-       NSString*                               mKeyName;
-       ITKeyCombo*                             mKeyCombo;
+@interface ITKeyComboPanel : NSWindowController {
+       IBOutlet NSTextField *mTitleField;
+       IBOutlet NSTextField *mComboField;
+       IBOutlet ITKeyBroadcaster *mKeyBcaster;
+       NSString *mKeyName;
+       ITKeyCombo *mKeyCombo;
 }
 
 + (id)sharedPanel;
 
 - (int)runModal;
-- (void)runModalForHotKey: (ITHotKey*)hotKey;
+- (void)runModalForHotKey:(ITHotKey *)hotKey;
+
+- (void)setKeyCombo:(ITKeyCombo *)combo;
+- (ITKeyCombo *)keyCombo;
 
-- (void)setKeyCombo: (ITKeyCombo*)combo;
-- (ITKeyCombo*)keyCombo;
+- (void)setKeyBindingName:(NSString *)name;
+- (NSString *)keyBindingName;
 
-- (void)setKeyBindingName: (NSString*)name;
-- (NSString*)keyBindingName;
+- (IBAction)ok:(id)sender;
+- (IBAction)cancel:(id)sender;
+- (IBAction)clear:(id)sender;
 
-- (IBAction)ok: (id)sender;
-- (IBAction)cancel: (id)sender;
-- (IBAction)clear: (id)sender;
-@end
+@end
\ No newline at end of file