Project fixes so that stuff builds, updates to the Background view, tweaks all over.
[ITKit.git] / ITKeyCombo.h
1 //
2 //  ITKeyCombo.h
3 //
4 //  Created by Quentin Carnicelli on Sat Aug 02 2003.
5 //  Copyright (c) 2003 iThink Software. All rights reserved.
6 //
7
8 #import <Foundation/Foundation.h>
9
10
11 @interface ITKeyCombo : NSObject <NSCopying>
12 {
13         int     mKeyCode;
14         int     mModifiers;
15 }
16
17 + (id)clearKeyCombo;
18 + (id)keyComboWithKeyCode: (int)keyCode modifiers: (int)modifiers;
19 + (id)keyComboWithPlistRepresentation: (id)plist;
20 - (id)initWithKeyCode: (int)keyCode modifiers: (int)modifiers;
21
22 - (id)initWithPlistRepresentation: (id)plist;
23 - (id)plistRepresentation;
24
25 - (BOOL)isEqual: (ITKeyCombo*)combo;
26
27 - (int)keyCode;
28 - (int)modifiers;
29
30 - (BOOL)isClearCombo;
31 - (BOOL)isValidHotKeyCombo;
32
33 @end
34
35 @interface ITKeyCombo (UserDisplayAdditions)
36
37 - (NSString*)description;
38
39 @end