-
Notifications
You must be signed in to change notification settings - Fork 5
/
SetupAssistantController.h
64 lines (47 loc) · 2.02 KB
/
SetupAssistantController.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
#import <Cocoa/Cocoa.h>
#import <QuartzCore/CoreAnimation.h>
@class ProcessesController;
@interface SetupAssistantController : NSWindowController
{
IBOutlet NSView *currentView;
IBOutlet NSView *startView;
IBOutlet NSView *configureSSHView;
IBOutlet NSView *configureSCGIView;
CATransition *transition;
NSString *errorMessage;
BOOL useSSH;
NSString *sshHost;
NSString *sshUsername;
NSString *sshPassword;
BOOL useSSHKeyLogin;
IBOutlet id sshFirstResponder;
int sshLocalPort;
BOOL checking;
NSString *scgiHost;
IBOutlet id scgiFirstResponder;
int currentProcessIndex;
NSString *localDownloadsFolder;
ProcessesController *pc;
void (^openSetupAssistantHandler)(id sender);
IBOutlet NSPopUpButton *_downloadsPathPopUp;
}
+ (SetupAssistantController *)sharedSetupAssistantController;
- (void) openSetupAssistant:(void (^)(id sender))handler;
@property (copy) void (^openSetupAssistantHandler)(id sender);
@property (retain) NSView *currentView;
@property (retain) NSString *errorMessage;
@property (retain) NSString *sshHost;
@property (retain) NSString *sshUsername;
@property (retain) NSString *sshPassword;
@property (assign) BOOL useSSHKeyLogin;
@property (assign) int sshLocalPort;
@property (retain) NSString *scgiHost;
@property (retain) NSString *localDownloadsFolder;
@property (assign) BOOL checking;
- (IBAction)showStartView:(id)sender;
- (IBAction)showConfigureSSHView:(id)sender;
- (IBAction)showConfigureSCGIView:(id)sender;
- (IBAction)checkSSH:(id)sender;
- (IBAction)checkSCGI:(id)sender;
- (void) downloadsPathShow: (id) sender;
@end