forked from opa334/CCSupport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CCSupport.h
49 lines (39 loc) · 1.4 KB
/
CCSupport.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
#if defined __cplusplus
extern "C" {
#endif
CGImageRef LICreateIconForImage(CGImageRef image, int variant, int precomposed);
#if defined __cplusplus
};
#endif
enum
{
CCOrientationPortrait = 0,
CCOrientationLandscape = 1
};
#import <ControlCenterUI/CCUIModuleSettings.h>
#import <ControlCenterUI/CCUIModuleInstance.h>
#import <ControlCenterUI/CCUIModuleInstanceManager.h>
#import <ControlCenterUI/CCUIModuleCollectionViewController.h>
#import <ControlCenterUI/CCUIModularControlCenterViewController.h>
#import <ControlCenterUI/CCUIModuleSettingsManager.h>
#import <ControlCenterServices/CCSModuleMetadata.h>
#import <ControlCenterServices/CCSModuleRepository.h>
#import <ControlCenterServices/CCSModuleSettingsProvider.h>
@protocol DynamicSizeModule
@optional
- (CCUILayoutSize)moduleSizeForOrientation:(int)orientation;
@end
@interface CCUIModuleInstanceManager (CCSupport)
- (CCUIModuleInstance*)instanceForModuleIdentifier:(NSString*)moduleIdentifier;
@end
@interface CCUISettingsModuleDescription : NSObject
@property(readonly, copy, nonatomic) NSString *displayName;
@end
@interface CCUISettingsModulesController : UITableViewController
@property(nonatomic) NSDictionary* fixedModuleIcons; //NEW
@property(nonatomic, retain) NSDictionary* preferenceClassForModuleIdentifiers; //NEW
- (void)_repopulateModuleData;
- (id)_identifierAtIndexPath:(id)arg1;
@end
@interface SBHomeScreenViewController : UIViewController
@end