source: trunk/Cocoa/X10Remote/NJRHotKeyManager.h@ 353

Last change on this file since 353 was 157, checked in by Nicholas Riley, 21 years ago

Initial import.

File size: 719 bytes
RevLine 
[157]1//
2// NJRHotKeyManager.h
3// Pester
4//
5// Created by Nicholas Riley on Tue Apr 01 2003.
6// Copyright (c) 2003 Nicholas Riley. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@class NJRHotKey;
12
13@interface NJRHotKeyManager : NSObject {
14 BOOL shortcutsEnabled;
15 NSMutableDictionary *shortcuts;
16}
17
18+ (NJRHotKeyManager *)sharedManager;
19
20- (BOOL)addShortcutWithIdentifier:(NSString *)identifier hotKey:(NJRHotKey *)hotKey target:(id)target action:(SEL)action;
21- (void)removeShortcutWithIdentifier:(NSString *)identifier;
22
23- (NSArray *)shortcutIdentifiers;
24- (NJRHotKey *)hotKeyForShortcutWithIdentifier:(NSString *)identifier;
25
26- (void)setShortcutsEnabled:(BOOL)enabled;
27- (BOOL)shortcutsEnabled;
28
29
30@end
Note: See TracBrowser for help on using the repository browser.