-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathSelectionPage.h
66 lines (45 loc) · 2.1 KB
/
SelectionPage.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
#import "ControlCenterUI.h"
#import "ControlCenterUIKit.h"
@class ACAppIconCell;
@interface ACSearchButton : CCUIControlCenterButton
@end
@interface ACIconButton : CCUIControlCenterButton
@end
@interface ACAppIconCell : UICollectionViewCell <CCUIControlCenterButtonDelegate>
@property (nonatomic, retain) NSString *appIdentifier;
@property (nonatomic, retain) UIImageView *imageView;
@property (nonatomic, retain) UILabel *titleLabel;
@property (nonatomic, retain) CCUIControlCenterButton *button;
@property (nonatomic, retain) UILongPressGestureRecognizer *longPressRec;
@property (nonatomic, retain) UIActivityIndicatorView *loadingView;
- (void)configureForApplication:(NSString*)appIdentifier;
- (void)showActivity;
- (void)hideActivity;
- (void)handleLongPress;
@end
@interface ACAppSelectionGridViewController : UICollectionViewController
@end
@interface ACAppSelectionContainerView : UIView
@property (nonatomic, retain) ACIconButton *iconButton;
@property (nonatomic, retain) UILabel *titleLabel;
@property (nonatomic, retain) UIButton *searchButton;
@property (nonatomic, retain) UISearchBar *searchBar;
@end
@interface ACAppSelectionPageViewController : UIViewController <CCUIControlCenterPageContentProviding, UISearchBarDelegate>
@property (nonatomic, retain) ACAppSelectionGridViewController *gridViewController;
@property (nonatomic, retain) ACAppSelectionContainerView *view;
@property (nonatomic, retain) CCUIControlCenterLabel *lockedLabel;
@property (nonatomic, assign) ACAppIconCell *selectedCell;
@property (nonatomic, assign) BOOL searching;
- (void)beginSearching;
- (void)endSearching;
- (void)reloadForUnlock;
@end
@interface BioProtectController : NSObject
+(id)sharedInstance;
-(BOOL)requiresAuthenticationForIdentifier:(NSString *)bundleIdentifier;
-(void)launchProtectedApplicationWithIdentifier:(NSString *)bundleIdentifier;
-(void)authenticateForIdentifier:(NSString *)identifier object:(id)object selector:(SEL)selector arrayOfArgumentsAsNSValuePointers:(NSArray *)arguments;
@end
#pragma mark Constants
#define NOCTIS_PREFS_PATH @"/var/mobile/Library/Preferences/com.laughingquoll.noctis.plist"