Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITKeyCombo.h
1 /*
2  *      ITKit
3  *      ITKeyCombo.h
4  *
5  *      Copyright (c) 2005 iThink Software
6  *
7  */
8
9 #import <Cocoa/Cocoa.h>
10
11 @interface ITKeyCombo : NSObject <NSCopying> {
12         int mKeyCode;
13         int mModifiers;
14 }
15
16 + (id)clearKeyCombo;
17 + (id)keyComboWithKeyCode:(int)keyCode modifiers:(int)modifiers;
18 + (id)keyComboWithPlistRepresentation:(id)plist;
19 - (id)initWithKeyCode:(int)keyCode modifiers:(int)modifiers;
20
21 - (id)initWithPlistRepresentation:(id)plist;
22 - (id)plistRepresentation;
23
24 - (BOOL)isEqual:(ITKeyCombo *)combo;
25
26 - (int)keyCode;
27 - (int)modifiers;
28
29 - (BOOL)isClearCombo;
30 - (BOOL)isValidHotKeyCombo;
31
32 @end
33
34 @interface ITKeyCombo (UserDisplayAdditions)
35
36 - (NSString *)description;
37
38 @end