4 // Created by Quentin D. Carnicelli on Thu Jun 06 2002.
5 // Copyright (c) 2002 Subband inc.. All rights reserved.
7 // Feedback welcome at qdc@subband.com
8 // This code is provided AS IS, so don't hurt yourself with it...
11 #import <AppKit/AppKit.h>
15 @interface HotKeyCenter : NSObject
18 NSMutableDictionary *mHotKeys;
23 - (BOOL)addHotKey:(NSString *)name combo:(KeyCombo *)combo target:(id)target action:(SEL)action;
24 - (void)removeHotKey:(NSString *)name;
26 - (NSArray *)allNames;
27 - (KeyCombo *)keyComboForName:(NSString *)name;
29 - (void)setEnabled:(BOOL)enabled;
32 - (void)sendEvent:(NSEvent *)event;