-
Notifications
You must be signed in to change notification settings - Fork 38
/
DTAppController.h
56 lines (42 loc) · 1.32 KB
/
DTAppController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// DTAppController.h
// Copyright (c) 2007-2010 Decimus Software, Inc. All rights reserved.
#import "SRCommon.h"
@class DTPrefsWindowController;
@class DTTermWindowController;
@class RTFWindowController;
#ifndef MAC_APP_STORE
@class SUUpdater;
#endif
extern NSString* DTResultsToKeepKey;
extern NSString* DTTextColorKey;
extern NSString* DTFontNameKey;
extern NSString* DTFontSizeKey;
@interface DTAppController : NSObject {
#ifndef MAC_APP_STORE
IBOutlet SUUpdater* sparkleUpdater;
#endif
DTPrefsWindowController* prefsWindowController;
DTTermWindowController* termWindowController;
RTFWindowController* acknowledgmentsWindowController;
RTFWindowController* licenseWindowController;
EventHotKeyRef hotKeyRef;
KeyCombo hotKey;
NSUInteger numCommandsExecuted;
}
#ifndef MAC_APP_STORE
@property (assign) SUUpdater* sparkleUpdater;
#endif
@property NSUInteger numCommandsExecuted;
@property (readonly) DTPrefsWindowController* prefsWindowController;
@property (readonly) DTTermWindowController* termWindowController;
- (IBAction)showPrefs:(id)sender;
- (IBAction)showAcknowledgments:(id)sender;
- (IBAction)showLicense:(id)sender;
- (KeyCombo)hotKey;
- (void)setHotKey:(KeyCombo)newHotKey;
- (void)hotkeyPressed;
- (void)saveHotKeyToUserDefaults;
- (void)loadHotKeyFromUserDefaults;
- (void)loadStats;
- (void)saveStats;
@end