/
QSInterfaceController.h
102 lines (74 loc) · 2.54 KB
/
QSInterfaceController.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/* QSController */
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
@class QSSearchObjectView;
@class QSActionMatrix;
@class QSWindow;
@class QSMenuButton;
//@class QSPrefsController;
@class QSObject, QSBasicObject;
@class QSCommand;
@interface QSInterfaceController : NSWindowController {
IBOutlet QSSearchObjectView *dSelector;
IBOutlet QSSearchObjectView *aSelector;
IBOutlet QSSearchObjectView *iSelector;
IBOutlet NSProgressIndicator *progressIndicator;
IBOutlet id commandView;
IBOutlet QSMenuButton *menuButton;
NSTimer *hideTimer;
NSTimer *actionsUpdateTimer;
BOOL hidingWindow;
BOOL preview;
TISInputSourceRef savedKeyboard;
}
- (QSCommand *)currentCommand;
- (void)setCommand:(QSCommand *)command;
- (void)setCommandWithArray:(NSArray *)array;
- (IBAction)showInterface:(id)sender;
- (IBAction)activate:(id)sender;
- (IBAction)activateInTextMode:(id)sender;
- (IBAction)actionActivate:(id)sender;
- (IBAction)executeCommand:(id)sender;
- (IBAction)executeCommandAndContinue:(id)sender;
- (IBAction)shortCircuit:(id)sender;
- (IBAction)encapsulateCommand:(id)sender;
- (IBAction)hideWindows:(id)sender;
- (IBAction)showTasks:(id)sender;
- (void)selectObject:(QSBasicObject *)object;
- (QSBasicObject *)selection;
- (void)searchArray:(NSMutableArray *)array;
- (void)showArray:(NSMutableArray *)array;
- (void)showArray:(NSMutableArray *)array withDirectObject:(QSObject *)dObject;
- (void)showMainWindow:(id)sender;
- (void)hideMainWindow:(id)sender;
- (void)hideMainWindowFromExecution:(id)sender;
- (void)hideMainWindowFromCancel:(id)sender;
- (void)hideMainWindowFromFade:(id)sender;
- (void)showIndirectSelector:(id)sender;
- (void)hideIndirectSelector:(id)sender;
- (void)updateActions;
- (void)updateActionsNow;
- (void)updateIndirectObjects;
- (void)updateViewLocations;
- (void)invalidateHide;
- (void)encapsulateCommand;
- (void)executeCommandThreaded;
- (void)executePartialCommand:(NSArray *)array;
- (void)objectModified:(NSNotification *)notif;
- (void)objectIconModified:(NSNotification *)notif;
- (void)searchObjectChanged:(NSNotification*)notif;
- (QSSearchObjectView *)dSelector;
- (QSSearchObjectView *)aSelector;
- (QSSearchObjectView *)iSelector;
- (QSMenuButton *)menuButton;
- (NSProgressIndicator *)progressIndicator;
- (NSSize)maxIconSize;
- (void)fireActionUpdateTimer;
// set to YES to prevent hiding, no to allow hiding again.
- (BOOL)hiding;
- (void)setHiding:(BOOL)flag;
- (BOOL)preview;
- (void)setPreview:(BOOL)flag;
- (void)clearObjectView:(QSSearchObjectView *)view;
- (void)ignoreInterfaceNotifications;
@end