/
Interfaces.h
78 lines (59 loc) · 2.21 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
#import <objc/runtime.h>
#define kTweakName @"QuickLock"
#ifdef DEBUG
#define NSLog(FORMAT, ...) NSLog(@"[%@: %s / %i] %@", kTweakName, __FILE__, __LINE__, [NSString stringWithFormat:FORMAT, ##__VA_ARGS__])
#else
#define NSLog(FORMAT, ...) do {} while (0);
#endif
//#define CALL_ORIGIN NSLog(@"%s CALL_ORIGIN: [%@]", __PRETTY_FUNCTION__, [[[[NSThread callStackSymbols] objectAtIndex:1] componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"[]"]] objectAtIndex:1])
#define CALL_ORIGIN do {} while (0);
extern "C" CFNotificationCenterRef CFNotificationCenterGetDistributedCenter();
#define kSharedKey [[UIApplication sharedApplication] keyWindow]
@interface SBIcon : NSObject
@property (nonatomic, retain) NSString* applicationBundleID;
@end
@interface SBIconView : UIView {
UIView* _labelView;
}
@property (nonatomic, assign) CGFloat iconLabelAlpha;
@property (nonatomic, retain) SBIcon* icon;
-(CGRect)iconImageFrame;
@end
@interface UIApplication (Private)
-(BOOL)launchApplicationWithIdentifier:(NSString*)identifier suspended:(BOOL)suspended;
@end
@interface SBIconModel : NSObject
-(NSDictionary*)iconState;
-(SBIcon*)expectedIconForDisplayIdentifier:(NSString*)ident;
@end
@interface SBIconListView : UIView
+(int)iconColumnsForInterfaceOrientation:(UIInterfaceOrientation)orient;
@end
@interface SBRootIconListView : SBIconListView
-(NSArray*)visibleIcons;
@end
@interface SBDockIconListView : SBIconListView
@end
@interface SBDockView : UIView
@end
@interface SBLockScreenView : UIView
- (void)scrollToPage:(long long)arg1 animated:(BOOL)arg2;
@end
@interface SBIconController : NSObject
@property (nonatomic, retain) SBIconModel* model;
+(id)sharedInstance;
-(SBRootIconListView*)currentRootIconList;
-(SBRootIconListView*)currentFolderIconList;
-(SBDockIconListView*)dockListView;
@end
@interface SBIconViewMap : NSObject
@property (nonatomic, retain) SBIconModel* iconModel;
+(id)homescreenMap;
-(SBIconView*)mappedIconViewForIcon:(SBIcon*)icon;
@end
@interface _UIBackdropViewSettings : NSObject
+(id)settingsForPrivateStyle:(int)style;
@end
@interface _UIBackdropView : UIView
-(id)initWithFrame:(CGRect)frame autosizesToFitSuperview:(BOOL)resizes settings:(_UIBackdropViewSettings*)settings;
@end