forked from firecore/Seas0nPass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tetherKitAppDelegate.h
67 lines (62 loc) · 1.87 KB
/
tetherKitAppDelegate.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
//
// tetherKitAppDelegate.h
// Seas0nPass
//
// Created by Kevin Bradley on 12/27/10.
// Copyright 2011 Fire Core, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "ripURL.h"
enum {
kSPATVRestoreImage,
kSPATVTetheredImage,
kSPATVTetheredRemoteImage,
kSPSuccessImage,
kSPIPSWImage,
};
@interface tetherKitAppDelegate : NSObject <ripURLDelegate> {
NSWindow *window;
IBOutlet NSProgressIndicator *downloadBar;
IBOutlet NSTextField *downloadProgressField;
IBOutlet NSTextField *instructionField;
IBOutlet NSImageView *instructionImage;
IBOutlet NSButton *buttonOne;
IBOutlet NSButton *cancelButton;
IBOutlet NSButton *bootButton;
NSMutableArray *downloadFiles;
int downloadIndex;
BOOL processing;
BOOL enableScripting;
IBOutlet NSView *firstView;
IBOutlet NSView *secondView;
ripURL *downloadFile;
BOOL poisoning;
}
@property (assign) IBOutlet NSWindow *window;
@property (assign) IBOutlet NSView *firstView;
@property (assign) IBOutlet NSView *secondView;
@property (readwrite, assign) BOOL processing;
@property (readwrite, assign) BOOL poisoning;
@property (readwrite, assign) BOOL enableScripting;
@property (readwrite, assign) int downloadIndex;
- (IBAction)fixScript:(id)sender;
- (void)killiTunes;
- (void)checkScripting;
- (BOOL)scriptingEnabled;
- (BOOL)loadItunesWithIPSW:(NSString *)ipsw;
- (BOOL)pwnHelperCheckOwner;
- (void)setDownloadProgress:(double)theProgress;
- (void)setDownloadText:(NSString *)downloadString;
- (IBAction)processOne:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)userGuides:(id)sender;
+ (NSString *)downloadLocation;
- (void)downloadFiles;
- (int)tetheredBoot;
- (IBAction)bootTethered:(id)sender;
- (IBAction)dfuMode:(id)sender;
- (BOOL)loadItunesWithIPSW:(NSString *)ipswString;
- (IBAction)itunesRestore:(id)sender;
- (void)setInstructionText:(NSString *)instructions;
- (NSImage *)imageForMode:(int)inputMode;
@end