-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCBRPrefsManager.h
45 lines (31 loc) · 1.87 KB
/
CBRPrefsManager.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
@interface CBRPrefsManager : NSObject {
}
@property(nonatomic, assign, getter=areBannersEnabled) BOOL bannersEnabled;
@property(nonatomic, assign, getter=isLSEnabled) BOOL lsEnabled;
@property(nonatomic, assign, getter=isNCEnabled) BOOL ncEnabled;
@property(nonatomic, assign, getter=shouldUseBannerGradient) BOOL useBannerGradient;
@property(nonatomic, assign, getter=shouldUseLSGradient) BOOL useLSGradient;
@property(nonatomic, assign, getter=shouldUseNCGradient) BOOL useNCGradient;
@property(nonatomic, assign, getter=shouldBannersUseConstantColor) BOOL bannersUseConstantColor;
@property(nonatomic, assign, getter=shouldLSUseConstantColor) BOOL lsUseConstantColor;
@property(nonatomic, assign, getter=shouldNCUseConstantColor) BOOL ncUseConstantColor;
@property(nonatomic, assign) int bannerBackgroundColor;
@property(nonatomic, assign) int lsBackgroundColor;
@property(nonatomic, assign) int ncBackgroundColor;
@property(nonatomic, assign) CGFloat bannerAlpha;
@property(nonatomic, assign) CGFloat lsAlpha;
@property(nonatomic, assign) CGFloat ncAlpha;
@property(nonatomic, assign, getter=shouldRemoveLSBlur) BOOL removeLSBlur;
@property(nonatomic, assign, getter=shouldShowSeparators) BOOL showSeparators;
@property(nonatomic, assign, getter=shouldDisableDimming) BOOL disableDimming;
@property(nonatomic, assign, getter=shouldColorDismissButton) BOOL colorDismissButton;
@property(nonatomic, assign) BOOL prefersWhiteText;
@property(nonatomic, assign) BOOL wantsDeepBannerAnalyzing;
@property(nonatomic, assign) BOOL wantsLiveAnalysis;
@property(nonatomic, assign, getter=shouldRoundCorners) BOOL roundCorners;
@property(nonatomic, assign, getter=shouldRemoveBannersBlur) BOOL removeBannersBlur;
@property(nonatomic, assign, getter=shouldHideQRRect) BOOL hideQRRect;
@property(nonatomic, assign, getter=shouldHideGrabber) BOOL hideGrabber;
+ (instancetype)sharedInstance;
- (void)reload;
@end