-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJKJALaunchAppDelegate.h
67 lines (61 loc) · 2.58 KB
/
JKJALaunchAppDelegate.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
#import <Cocoa/Cocoa.h>
#import <Sparkle/Sparkle.h>
extern NSString * const JKJAJediApplicationPath;
extern NSString * const JKJAJediCommandLine;
extern NSString * const JKJAJediOpenGLErrorCheck;
extern NSString * const JKJAJediOpenAL;
extern NSString * const JKJAForce32BitColour;
@interface Untitled3AppDelegate : NSObject <NSApplicationDelegate> {
NSWindow *window;
NSBox *commandLineBox;
NSBox *openGLBox;
NSBox *openALBox;
NSButton *launcherButton;
NSTextField *launcherString;
NSTextField *launcherAppPath;
NSButton *openGLErrorCheckBox;
NSButton *use32BitColourCheckBox;
NSButton *openALCheckBox;
NSTextField *launcherCurrentVersionString;
NSString *launcherAppPathString;
NSInteger jediVersionNumber;
NSButton *saveOptionsCheckBox;
NSBox *openGLTextBox;
NSBox *openALTextBox;
NSButton *disclosureOpenGL;
NSButton *disclosureOpenAL;
BOOL isValidAppPath;
BOOL hasNewUpdate;
NSButton *customMasterServerCheckBox;
NSTextField *customMasterServerURL;
}
@property (assign) IBOutlet NSWindow *window;
@property (assign) IBOutlet NSButton *launcherButton;
@property (assign) IBOutlet NSTextField *launcherString;
@property (assign) IBOutlet NSTextField *launcherAppPath;
@property (assign) IBOutlet NSButton *openGLErrorCheckBox;
@property (assign) IBOutlet NSButton *use32BitColourCheckBox;
@property (assign) IBOutlet NSButton *openALCheckBox;
@property (assign) IBOutlet NSTextField *launcherCurrentVersionString;
@property (assign) IBOutlet NSString *launcherAppPathString;
@property (assign) IBOutlet NSBox *commandLineBox;
@property (assign) IBOutlet NSBox *openGLBox;
@property (assign) IBOutlet NSBox *openALBox;
@property (assign) IBOutlet NSButton *saveOptionsCheckBox;
@property (assign) IBOutlet NSBox *openGLTextBox;
@property (assign) IBOutlet NSBox *openALTextBox;
@property (assign) IBOutlet NSButton *disclosureOpenGL;
@property (assign) IBOutlet NSButton *disclosureOpenAL;
@property (assign) IBOutlet NSButton *customMasterServerCheckBox;
@property (assign) IBOutlet NSTextField *customMasterServerURL;
- (IBAction) launchJediAcademy:(id)sender;
- (NSInteger)getVersionNumberFromAppPath:(NSString *)appPath;
- (void) setLauncherAppPath:(NSTextField *)textField;
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context;
- (IBAction) selectAppPath:(id)sender;
- (IBAction) toggleOpenGLBox:(id)sender;
- (IBAction) toggleOpenALBox:(id)sender;
- (IBAction) toggleCommandLineBox:(id)sender;
- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update;
- (void)updaterDidNotFindUpdate:(SUUpdater *)update;
@end