-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinterfaces.h
113 lines (95 loc) · 3.61 KB
/
interfaces.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#import <QuartzCore/QuartzCore.h>
#import <QuartzCore/CAFilter.h>
#import <QuartzCore/CABackdropLayer.h>
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <objc/runtime.h>
#import <substrate.h>
#import "BlurBlur.h"
#import "EXSTOCircleMenuView.h"
#define log(z) NSLog(@"[Exsto] %@", z)
#define prefsID CFSTR("com.zachatrocity.exsto")
#define TWEAK_NAME @"exsto"
#define TWEAK_BUNDLE_PATH [NSString stringWithFormat:@"/Library/PreferenceBundles/%@.bundle", TWEAK_NAME]
// #define TWEAK_PREFS_COLOR [UIColor colorWithRed:0.08f green:0.75f blue:0.85f alpha:1.f]
@interface SBIconController : NSObject
-(id)contentView;
+(id)sharedInstance;
-(void)_launchIcon:(id)icon;
-(void)setIsEditing:(BOOL)arg1;
-(void)openFolder:(id)folder animated:(BOOL)animated;
-(NSArray *)anglesBetweenPointA:(CGPoint)a pointB:(CGPoint)b pointC:(CGPoint)c;
-(BOOL)point:(CGPoint)c isOnLineFromPointA:(CGPoint)a toPointB:(CGPoint)b;
-(CGFloat)distanceFromPoint:(CGPoint)a toPointB:(CGPoint)b;
-(NSArray *)pointsAtIntersectWithLineFromOrigin:(CGPoint)origin toTarget:(CGPoint)target withCenter:(CGPoint)center withRadius:(double)radius;
-(CGFloat)checkAndCalculateAngleBetweenPoints:(NSArray *)points center:(CGPoint)center;
-(void)updateEXSTOContextPosition:(CGPoint)center withIconCount:(int)count;
-(NSDictionary *)optionsDictionary;
-(void)removeExstoView;
-(void)iconHandleLongPress:(id)press;
-(EXSTOCircleMenuView *)circleMenuView;
-(void)setCircleMenuView:(EXSTOCircleMenuView *)value;
-(NSMutableArray *)EXSTOImages;
-(void)setEXSTOImages:(NSMutableArray *)value;
-(NSMutableArray *)EXSTOFolderApplications;
-(void)setEXSTOFolderApplications:(NSMutableArray *)value;
-(UILongPressGestureRecognizer *)EXSTORecognizer;
-(void)setEXSTORecognizer:(UILongPressGestureRecognizer *)value;
//-(DFContinuousForceTouchGestureRecognizer *)EXSTOForceRecognizer;
//-(void)setEXSTOForceRecognizer:(DFContinuousForceTouchGestureRecognizer *)value;
@end
@interface SBIconViewMap : NSObject
@end
@interface SBIconImageView : UIView
-(id)contentsImage;
@end
@interface SBAlertItemsController : NSObject
- (void)activateAlertItem:(id)item;
@end
@interface SBLockScreenManager : NSObject
-(void)lockUIFromSource:(int)arg1 withOptions:(id)arg2;
@end
@interface SBIcon : NSObject
- (void)launchFromLocation:(int)arg1; // iOS 7 & 8
- (void)launchFromLocation:(int)arg1 context:(id)arg2; // iOS 8.3
- (id)applicationBundleID;
- (id)displayName;
- (NSInteger)badgeValue;
- (id)application;
- (id)getIconImage:(int)arg1;
- (id)generateIconImage:(int)arg1;
@end
@interface SBApplication : NSObject
-(id)displayName;
@end
@interface SBIconView : UIView
@property (nonatomic, retain) id delegate;
- (id)initWithDefaultSize;
- (void)_setIcon:(SBIcon*)icon animated:(BOOL)animated;
@end
@interface SBIconListModel : NSObject
-(id)iconAtIndex:(unsigned)index;
-(id)icons;
-(unsigned)numberOfIcons;
@end
@interface SBFolder : NSObject
-(id)allIcons; // returns an NSMutableSet
-(id)visibleIcons; // returns an NSMutableSet
-(id)lists;
@property(copy, nonatomic) NSString *displayName;
@end
@interface SBFolderIconView : UIView
-(id)folder;
-(id)initWithFrame:(CGRect)frame;
-(id)type;
-(BOOL)isInDock;
@end
@interface SBApplicationShortcutMenu : NSObject
- (void)iconHandleLongPress:(id)arg1;
- (void)menuContentView:(id)arg1 activateShortcutItem:(id)arg2 index:(long long)arg3;
@end
@interface SBApplicationShortcutItem : NSObject
@end
@interface SBApplicationShortcutMenuContentView : NSObject
- (id)initWithInitialFrame:(struct CGRect)arg1 containerBounds:(struct CGRect)arg2 orientation:(long long)arg3 shortcutItems:(NSArray <UIApplicationShortcutItem *>*)arg4 application:(SBApplication*)arg5;
@end