-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheaders.h
More file actions
415 lines (336 loc) · 13.1 KB
/
headers.h
File metadata and controls
415 lines (336 loc) · 13.1 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
#import <objc/runtime.h>
static CGSize screenSize = [[UIScreen mainScreen] bounds].size;
typedef enum {
kTop,
kBottomSticky,
kBottom
} SectionPosition;
@interface SCPreferences : NSObject {
NSMutableDictionary *prefs;
}
@property (nonatomic, assign, readonly) BOOL isTweakEnabled;
@property (nonatomic, assign, readonly) BOOL isReplaceCCEnabled;
@property (nonatomic, assign, readonly) NSInteger blurStyle;
@property (nonatomic, assign, readonly) CGFloat animationSpeed;
@property (nonatomic, assign, readonly) CGFloat backgroundGrayness;
@property (nonatomic, assign, readonly) NSInteger defaultPage;
@property (nonatomic, assign, readonly) BOOL isRemoveMediaAndDevicesPagesEnabled;
@property (nonatomic, assign, readonly) BOOL isRemoveDevicesPagesEnabled;
@property (nonatomic, assign, readonly) BOOL isMediaPageOnPlayingEnabled;
@property (nonatomic, assign, readonly) CGFloat portraitScale;
@property (nonatomic, assign, readonly) CGFloat landscapeScale;
@property (nonatomic, assign, readonly) CGFloat portraitTopHeight;
@property (nonatomic, assign, readonly) CGFloat landscapeTopHeight;
@property (nonatomic, assign, readonly) CGFloat portraitBottomHeight;
@property (nonatomic, assign, readonly) CGFloat landscapeBottomHeight;
@property (nonatomic, assign, readonly) BOOL isPortraitNightAndAirLabelsHidden;
@property (nonatomic, assign, readonly) BOOL isLandscapeNightAndAirLabelsHidden;
@property (nonatomic, assign, readonly) CGFloat backgroundAlpha;
@property (nonatomic, assign, readonly) NSArray *topSection;
@property (nonatomic, assign, readonly) NSArray *bottomStickySection;
@property (nonatomic, assign, readonly) NSArray *bottomSection;
@property (nonatomic, assign, readonly) BOOL isInteractiveCCEnabled;
@property (nonatomic, assign, readonly) BOOL isScaleIconLabelsEnabled;
@property (nonatomic, assign, readonly) CGFloat multiSliderBackgroundAlpha;
@property (nonatomic, assign, readonly) BOOL isCompactSlidersEnabled;
@property (nonatomic, assign, readonly) CGFloat portraitOffset;
@property (nonatomic, assign, readonly) CGFloat landscapeOffset;
@property (nonatomic, assign) BOOL requiresRelayout;
+(SCPreferences *)sharedInstance;
-(void)updatePreferences;
-(void)updateLayoutChangePreferences;
-(void)updateSectionPreferences;
-(Class)classForSection:(NSString *)section;
-(Class)sectionClass:(SectionPosition)position withIndex:(NSInteger)index;
-(BOOL)isAppDisabled:(NSString *)appId;
@end
@interface ControlCenterBottomScrollView : UIScrollView
-(void)resetupScrollWidth:(BOOL)playing;
-(void)scrollToPage:(NSInteger)page animated:(BOOL)animated;
-(NSInteger)currentVisiblePage;
-(NSInteger)mediaPage;
-(NSInteger)defaultPage;
@end
@interface SBControlCenterController
@property (assign,getter=isUILocked,nonatomic) BOOL UILocked;
@property (assign,getter=isPresented,nonatomic) BOOL presented;
-(void)_showControlCenterGestureCancelled;
-(CGFloat)_controlCenterHeightForTouchLocation:(CGPoint)arg1 initialTouchLocation:(CGPoint)arg2;
@end
@interface SBDisplayItem : NSObject
@property (nonatomic,copy,readonly) NSString * displayIdentifier;
@end
@interface SBDeckSwitcherItemContainer : UIView
@property (assign,nonatomic) double titleOpacity;
@end
@interface SBAppSwitcherScrollView : UIScrollView
@end
@interface SBDeckSwitcherViewController : UIViewController
@property (nonatomic,copy) NSArray * displayItems;
@property (setter=_setReturnToDisplayItem:,nonatomic,copy) SBDisplayItem * _returnToDisplayItem;
-(SBDeckSwitcherItemContainer *)_itemContainerForDisplayItem:(SBDisplayItem *)arg1;
-(void)startInteractiveTransition:(BOOL)arg1 presenting:(BOOL)arg2 withRequest:(id)arg3;
-(void)animateAppearance;
-(void)animateDisappearance;
-(void)panBottomView:(id)arg1;
-(void)interactiveAppearance:(CGFloat)arg1 didEnd:(BOOL)arg2;
@end
@interface SBMainSwitcherViewController
+(id)sharedInstance;
-(BOOL)activateSwitcherNoninteractively;
-(BOOL)dismissSwitcherNoninteractively;
@end
@interface CCUIControlCenterStatusUpdate : NSObject
@property (nonatomic,copy) NSArray *statusStrings;
@end
@protocol CCUIControlCenterSectionViewControllerDelegate <NSObject>
@required
-(NSInteger)layoutStyle;
-(void)noteSectionEnabledStateDidChange:(id)arg1;
-(void)section:(id)arg1 publishStatusUpdate:(id)arg2;
-(void)sectionWantsControlCenterDismissal:(id)arg1;
-(id)controlCenterSystemAgent;
-(void)beginSuppressingPunchOutMaskCachingForReason:(id)arg1;
-(void)endSuppressingPunchOutMaskCachingForReason:(id)arg1;
@end
@protocol CCUIControlCenterButtonDelegate <NSObject>
@optional
-(void)button:(id)arg1 didChangeState:(NSInteger)arg2;
@required
-(void)buttonTapped:(id)arg1;
-(BOOL)isInternal;
-(id)controlCenterSystemAgent;
@end
@interface ControlCenterSectionView : UIView <CCUIControlCenterSectionViewControllerDelegate>
@end
@interface CCUIControlCenterSectionView : UIView
@property (assign,nonatomic) NSInteger layoutStyle;
@end
@interface CCUIControlCenterSectionViewController : UIViewController
-(void)setDelegate:(id<CCUIControlCenterSectionViewControllerDelegate>)arg1;
@end
@interface CCUIButtonSectionController : CCUIControlCenterSectionViewController
@end
@interface CCUISettingsSectionController : CCUIButtonSectionController
@end
@interface ControlCenterSettingsSectionView : ControlCenterSectionView {
CCUISettingsSectionController *_settingsController;
}
@end
@interface CCUIQuickLaunchSectionController : CCUIButtonSectionController
@end
@interface ControlCenterQuickLaunchSectionView : ControlCenterSectionView {
CCUIQuickLaunchSectionController *_quickLaunchController;
}
@end
@interface CCUIBrightnessContentView : CCUIControlCenterSectionView
@end
@interface CCUIBrightnessSectionController : CCUIControlCenterSectionViewController
-(void)setUsesCompactHeight:(BOOL)arg1;
@end
@interface ControlCenterBrightnessSectionView : ControlCenterSectionView {
CCUIBrightnessSectionController *_brightnessController;
}
-(id)slider;
-(void)addButton:(UIButton *)button target:(id)target action:(SEL)selector isMin:(BOOL)isMin;
@end
@interface SBFButton : UIButton
@end
@interface CCUIControlCenterButton : SBFButton
@end
@interface CCUIControlCenterPushButton : CCUIControlCenterButton
@property (assign,nonatomic) NSUInteger roundCorners;
@property (assign,nonatomic) NSInteger numberOfLines;
-(void)_updateGlyphAndTextForStateChange;
@end
@interface CCUINightShiftContentView : UIView
-(CCUIControlCenterPushButton *)button;
@end
@interface CCUINightShiftSectionController : CCUIControlCenterSectionViewController <CCUIControlCenterButtonDelegate>
-(CCUINightShiftContentView *)view;
@end
@interface CCUIAirStuffSectionController : CCUIControlCenterSectionViewController {
CCUIControlCenterPushButton *_airPlaySection;
CCUIControlCenterPushButton* _airDropSection;
UIAlertController* _airDropAlertController;
}
@end
@interface LQDNightSectionController : CCUIControlCenterSectionViewController
-(CCUIControlCenterPushButton *)nightModeSection;
-(CCUIControlCenterPushButton *)nightShiftSection;
@end
@interface OGYNightSectionController : CCUIControlCenterSectionViewController
-(CCUIControlCenterPushButton *)nightModeSection;
-(CCUIControlCenterPushButton *)nightShiftSection;
@end
@interface ControlCenterNightAndAirPlaySectionView : ControlCenterSectionView {
CCUINightShiftSectionController *_nightShiftController;
CCUIAirStuffSectionController *_airPlayController;
LQDNightSectionController *_noctisController;
OGYNightSectionController *_ogygiaController;
}
@end
@interface ControlCenterNightSectionView : ControlCenterSectionView {
CCUINightShiftSectionController *_nightShiftController;
}
@end
@interface ControlCenterAirPlaySectionView : ControlCenterSectionView {
CCUIAirStuffSectionController *_airPlayController;
}
@end
@interface SBUIController
+(id)sharedInstance;
-(BOOL)isAppSwitcherShowing;
@end
@interface SBApplication : NSObject
-(id)bundleIdentifier;
@end
@interface FBSystemApp : UIApplication
@end
@interface SpringBoard : FBSystemApp
+(id)sharedApplication;
-(UIInterfaceOrientation)activeInterfaceOrientation;
-(UIInterfaceOrientation)interfaceOrientationForCurrentDeviceOrientation;
-(id)_accessibilityFrontMostApplication;
@end
@interface MPULayoutInterpolator : NSObject
-(void)addValue:(CGFloat)arg1 forReferenceMetric:(CGFloat)arg2;
@end
@interface MPUEmptyNowPlayingView : UIButton
@end
@interface MPUNowPlayingMetadataView : UIView
@property (nonatomic,copy) NSAttributedString * attributedText;
@property (assign,nonatomic) BOOL marqueeEnabled;
@property (assign,nonatomic) NSUInteger numberOfLines;
-(UILabel *)label;
@end
@interface MPUControlCenterMetadataView : MPUNowPlayingMetadataView
@end
@interface MPUChronologicalProgressView : UIView
@property (assign,getter=isAlwaysLive,nonatomic) BOOL alwaysLive;
-(void)setTintColor:(id)arg1;
@end
@interface MPUControlCenterTimeView : MPUChronologicalProgressView
@end
@interface MPUTransportControlsView : UIView
@end
@interface MPUAVRouteHeaderView : UIControl
@end
@interface MPUNowPlayingArtworkView : UIView
@end
@interface MPUMediaControlsVolumeView : UIView
@end
@interface MPAVRoutingViewController : UIViewController
@end
@interface MPUControlCenterMediaControlsView : UIView
@property (nonatomic,readonly) MPUNowPlayingArtworkView * artworkView;
-(void)setLayoutStyle:(NSUInteger)arg1;
-(void)setUseCompactStyle:(BOOL)arg1;
-(void)_reloadNowPlayingInfoLabels;
-(MPUControlCenterTimeView *)timeView;
-(MPUTransportControlsView *)transportControls;
-(MPUMediaControlsVolumeView *)volumeView;
-(MPUNowPlayingArtworkView *)artworkView;
-(MPUEmptyNowPlayingView *)emptyNowPlayingView;
-(void)setupLabelsIfNeeded;
@end
@protocol CCUIControlCenterPageContentViewControllerDelegate <NSObject>
@required
-(NSInteger)layoutStyle;
-(void)contentViewControllerWantsDismissal:(id)arg1;
-(id)controlCenterSystemAgent;
-(void)visibilityPreferenceChangedForContentViewController:(id)arg1;
-(void)beginSuppressingPunchOutMaskCachingForReason:(id)arg1;
-(void)endSuppressingPunchOutMaskCachingForReason:(id)arg1;
@end
@interface MPUControlCenterMediaControlsViewController : UIViewController
-(id)initWithNibName:(id)arg1 bundle:(id)arg2;
-(void)_initControlCenterMediaControlsViewController;
-(MPUControlCenterMediaControlsView *)_mediaControlsView;
-(void)setDelegate:(id<CCUIControlCenterSectionViewControllerDelegate>)arg1;
@end
@interface ControlCenterMediaSectionView : ControlCenterSectionView {
MPUControlCenterMediaControlsViewController *mediaViewController;
CGRect routingPageFrame;
}
-(void)setupRoutingPageWithFrame:(CGRect)frame;
@end
@interface SBScreenEdgePanGestureRecognizer : UIScreenEdgePanGestureRecognizer
@end
@interface FBSystemService
+(id)sharedInstance;
-(void)exitAndRelaunch:(BOOL)arg1;
@end
@interface SBMediaController
+(id)sharedInstance;
-(BOOL)isPlaying;
@end
@interface UIAlertController (SwitcherControls)
-(void)setPreferredStyle:(UIAlertActionStyle)arg1;
@end
@interface CCUIControlCenterSlider : UISlider
@end
@interface MPUMarqueeView : UIView
@end
@interface ControlCenterVolumeSectionView : ControlCenterSectionView {
MPUMediaControlsVolumeView *volumeView;
}
-(id)slider;
-(void)addButton:(UIButton *)button target:(id)target action:(SEL)selector isMin:(BOOL)isMin;
@end
@interface ControlCenterFailureSectionClass : NSObject
@end
@interface SBIconController : UIViewController
+(id)sharedInstance;
-(BOOL)hasAnimatingFolder;
@end
@interface SBSearchGesture : NSObject
@property (getter=isActivated,nonatomic,readonly) BOOL activated;
+(id)sharedInstance;
@end
@interface SBWorkspace : NSObject
@end
@interface SBAlertManager : NSObject
-(id)activeAlert;
@end
@interface SBWorkspaceTransaction
@end
@interface SBMainWorkspace : SBWorkspace
@property (nonatomic,retain) SBWorkspaceTransaction * currentTransaction;
@property(readonly, nonatomic) SBAlertManager *alertManager;
+(id)sharedInstance;
@end
@interface UIKeyboard : UIView
+(BOOL)isOnScreen;
@end
@interface UIPanGestureRecognizer (SwitcherControls)
-(void)_setCanPanHorizontally:(BOOL)arg1;
@end
@interface UIGestureRecognizer (SwitcherControls)
@end
@interface ControlCenterBrightnessVolumeSectionView : ControlCenterSectionView {
ControlCenterBrightnessSectionView *_brightnessView;
ControlCenterVolumeSectionView *_volumeView;
BOOL isBrightnessVisible;
}
@end
@interface _UIBackdropView : UIView
-(id)initWithFrame:(CGRect)arg1 autosizesToFitSuperview:(BOOL)arg2 settings:(id)arg3;
@end
@interface _UIBackdropViewSettings : NSObject
+(id)settingsForStyle:(NSInteger)arg1;
@property (nonatomic,retain) UIColor * colorTint;
@end
@interface __NSCFString : NSMutableString
@end
@interface SBIconView : UIView
@end
@interface CS3DSwitcherPageScrollView : UIScrollView
// iconView property of type UIView * which contains an SBIconView as subview
// pageView property of type CS3DSwitcherPageView * which contains UIView * of snapshot
@end
@interface CS3DSwitcherViewController : UIViewController
-(CGRect)frameForViewAtIndex:(NSInteger)arg1;
@end
@interface CS3DSwitcherPageView : UIView
@end