Huge audit of ITKit, mostly everything has been updated to current coding
[ITKit.git] / ITHotKey.h
1 /*
2  *      ITKit
3  *      ITHotKey.h
4  *
5  *      Copyright (c) 2005 by iThink Software.
6  *      All Rights Reserved.
7  *
8  *      $Id$
9  *
10  */
11
12 #import <Cocoa/Cocoa.h>
13
14 @class ITKeyCombo;
15
16 @interface ITHotKey : NSObject {
17         NSString *mName;
18         ITKeyCombo *mKeyCombo;
19         id mTarget;
20         SEL mAction;
21 }
22
23 - (id)init;
24
25 - (void)setName:(NSString *)name;
26 - (NSString *)name;
27
28 - (void)setKeyCombo:(ITKeyCombo *)combo;
29 - (ITKeyCombo *)keyCombo;
30
31 - (void)setTarget:(id)target;
32 - (id)target;
33 - (void)setAction:(SEL)action;
34 - (SEL)action;
35
36 - (void)invoke;
37
38 @end