-
Notifications
You must be signed in to change notification settings - Fork 1
/
GreenPass.h
80 lines (66 loc) · 2.3 KB
/
GreenPass.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
#define GREEN_PASS_PLIST @"/var/mobile/Library/Preferences/com.0xkuj.greenpassprefs.plist"
#define GREEN_PASS_ASSETS_SWAP_ICON @"/Library/PreferenceBundles/GreenPassPrefs.bundle/swapiconalt.png"
struct viewPreferences {
BOOL isShowButton;
BOOL isAnimations;
BOOL isLongPressOnPic;
BOOL isEnabled;
} tweakPrefs;
@interface NSUserDefaults ()
-(id)objectForKey:(id)arg1 inDomain:(id)arg2 ;
@end
@interface NSObject (PrivateFLEXall)
-(id)safeValueForKey:(id)arg1;
@end
@interface SBDashBoardIdleTimerProvider : NSObject
-(void)addDisabledIdleTimerAssertionReason:(id)arg1;
-(void)removeDisabledIdleTimerAssertionReason:(id)arg1;
@end
@interface SBDashBoardViewController : UIViewController {
SBDashBoardIdleTimerProvider *_idleTimerProvider;
}
@end
@interface SBDashBoardIdleTimerController : NSObject {
SBDashBoardIdleTimerProvider *_dashBoardIdleTimerProvider;
}
@end
@interface CSCoverSheetViewController : UIViewController
-(id)idleTimerController;
@end
@interface SBCoverSheetPresentationManager : NSObject
+(id)sharedInstance;
-(id)dashBoardViewController;
-(id)coverSheetViewController;
@end
@interface UIWindow ()
-(void)setAutorotates:(BOOL)arg1;
-(void)_setSecure:(BOOL)arg1;
@end
/* created for recognizing touches in view inside the window holding it */
@interface GPTouchRecognizerWindow : UIWindow
@end
@interface GreenPass : NSObject {
GPTouchRecognizerWindow* _alertWindow;
//UIImageView* gpMainImageView;
//those will help us calculate view dimensions
float leftXView, rigthXView, uppperYView, lowerYView;
//hold the button for the picture swap
UIButton *button;
}
@property (nonatomic) IBOutlet UIImageView *gpMainImageView;
@property (weak, nonatomic) IBOutlet UIImageView *imageView2;
@property (assign, nonatomic) BOOL isEnabled;
+ (id)sharedInstance;
- (int)loadComponents;
- (void)showWindow;
- (BOOL)isTouched:(CGPoint)point;
/* not needed to be declared */
/*
- (UIImage*) scaleImage:(UIImage*)image toSize:(CGSize)newSize;
- (void)moveImage:(UIPanGestureRecognizer *)panRecognizer;
- (void)rotateImage:(UIRotationGestureRecognizer *)rotationGestureRecognizer;
- (void)pinchImage:(UIPinchGestureRecognizer *)pinchRecognizer;
- (void)buttonPressedAction:(id)sender;
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info;
*/
@end