forked from bdrister/dterm
-
Notifications
You must be signed in to change notification settings - Fork 14
/
DTAppController.h
45 lines (32 loc) · 1.19 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
// DTAppController.h
// Copyright (c) 2007-2010 Decimus Software, Inc. All rights reserved.
#import "SRCommon.h"
@class DTPrefsWindowController;
@class DTTermWindowController;
@class RTFWindowController;
@class SUUpdater;
extern NSString* const DTResultsToKeepKey;
extern NSString* const DTTextColorKey;
extern NSString* const DTFontNameKey;
extern NSString* const DTFontSizeKey;
@interface DTAppController : NSObject {
IBOutlet SUUpdater* __unsafe_unretained sparkleUpdater;
DTTermWindowController* termWindowController;
RTFWindowController* acknowledgmentsWindowController;
RTFWindowController* licenseWindowController;
EventHotKeyRef hotKeyRef;
KeyCombo hotKey;
}
@property (unsafe_unretained) SUUpdater* sparkleUpdater;
@property (readonly, nonatomic) DTPrefsWindowController* prefsWindowController;
@property (readonly) DTTermWindowController* termWindowController;
- (BOOL) isAXTrustedPromptIfNot:(BOOL)shouldPrompt;
- (IBAction)showPrefs:(id)sender;
- (IBAction)showAcknowledgments:(id)sender;
- (IBAction)showLicense:(id)sender;
- (KeyCombo)hotKey;
- (void)setHotKey:(KeyCombo)newHotKey;
- (void)hotkeyPressed;
- (void)saveHotKeyToUserDefaults;
- (void)loadHotKeyFromUserDefaults;
@end