-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathInstanceManager.h
More file actions
executable file
·65 lines (45 loc) · 1.82 KB
/
InstanceManager.h
File metadata and controls
executable file
·65 lines (45 loc) · 1.82 KB
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
/*!
@header InstanceManager.h
@project Pusher
@author Alexander Maksimenko
@copyright Copyright (c) 2009 Ripdev. All rights reserved.
*/
@class MainWindowController, FirmwareManager, BuilderSettings, Firmware, WizardStepController;
@interface InstanceManager : NSObject
+(void) init;
+(void) unInit;
+(FirmwareManager*) firmwareManager;
+(MainWindowController*) mainController;
+(void) setMainController:(MainWindowController*) controller;
+(BOOL) isUILocked;
+(void) setUILocked:(BOOL) value;
+(void) setPushState:(PushButtonState) state;
+(void) setText:(NSString*) text;
+(void) setButtonText:(NSString*) text;
+(void) enableSun:(BOOL) value;
+(WizardStepController*) stepController;
+(void) setStepController:(WizardStepController*) stepController;
+(Platform) platform;
+(void) setPlatform:(Platform) value;
+(Firmware*) firmware;
+(void) setFirmware:(Firmware*) value;
+(NSString*) ramdiskPath;
+(void) setRamdiskPath:(NSString*) value;
+(NSArray*) searchFilesWithContentType:(NSString*) contentType name:(NSString*) name size:(int) size;
+(void) deleteTempFiles;
+(BOOL) checkFreeSpace:(unsigned long long) bytes atPath:(NSString*) path;
+(void) runLoop;
+(BOOL) checkURL:(NSURL*) url;
@end
@interface InstanceManager (IPhoneUSB)
+(void) usbDelegateAdd:(id) delegate;
+(void) usbDelegateRemove:(id) delegate;
+(void) usbSendCommand:(NSString*) cmd;
+(void) usbUploadFile:(NSString*) file;
@end
@interface InstanceManager (StringAndMessage)
+(void) stopMessage;
+(void) showBubble:(NSAttributedString*) text onSide:(MAWindowPosition) side ofView:(NSView*) view withTimeout:(int) seconds andDismissMode:(DismissMode) dismissMode;
+(void) showError:(NSAttributedString*) text withTimeout:(int) seconds buttons:(NSArray*) buttons;
+(void) showMessage:(NSAttributedString*) text withTimeout:(int) seconds buttons:(NSArray*) buttons;
@end