791008190e42801b12041140abc3a94008d4c5f7
[ITKit.git] / ITHotKey.h
1 /*
2  *      ITKit
3  *  ITHotKey
4  *
5  *  Original Author : Quentin Carnicelli <...>
6  *   Responsibility : Kent Sutherland <kent.sutherland@ithinksw.com>
7  *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
8  *
9  *  Copyright (c) 2002 - 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  */
13
14
15 #import <Foundation/Foundation.h>
16 #import "ITKeyCombo.h"
17
18
19 @interface ITHotKey : NSObject
20 {
21         NSString*               mName;
22         ITKeyCombo*             mKeyCombo;
23         id                              mTarget;
24         SEL                             mAction;
25 }
26
27 - (id)init;
28
29 - (void)setName: (NSString*)name;
30 - (NSString*)name;
31
32 - (void)setKeyCombo: (ITKeyCombo*)combo;
33 - (ITKeyCombo*)keyCombo;
34
35 - (void)setTarget: (id)target;
36 - (id)target;
37 - (void)setAction: (SEL)action;
38 - (SEL)action;
39
40 - (void)invoke;
41
42 @end