-
Notifications
You must be signed in to change notification settings - Fork 18
/
CCSectionViewController.h
37 lines (26 loc) · 1.03 KB
/
CCSectionViewController.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
//
// CCSectionViewController.h
// CCLoader
//
// Created by Jonas Gessner on 04.01.2014.
// Copyright (c) 2014 Jonas Gessner. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ControlCenter/SBControlCenterSectionViewController.h"
#import "ControlCenter/SBControlCenterSectionView.h"
#import "CCLoaderSettings/SpringBoardUIServices/_SBUIWidgetHost.h"
#import "CCLoaderSettings/CCSection-Protocol.h"
typedef NS_ENUM(NSUInteger, CCBundleType) {
CCBundleTypeDefault,
CCBundleTypeWeeApp,
CCBundleTypeBBWeeApp
};
@interface CCSectionViewController : SBControlCenterSectionViewController <CCSectionDelegate, _SBUIWidgetHost>
- (id)initWithCCLoaderBundle:(NSBundle *)bundle type:(CCBundleType)type;
- (void)_CCLoader_setReplacingSectionViewController:(SBControlCenterSectionViewController *)controller;
- (SBControlCenterSectionViewController *)_CCLoader_replacingSectionViewController;
- (NSBundle *)_CCLoader_bundle;
//Unused when replacing a stock section
- (CGFloat)_CCLoader_height;
@end