-
Notifications
You must be signed in to change notification settings - Fork 5
/
SBAlert.h
141 lines (137 loc) · 5 KB
/
SBAlert.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
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
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import <XXUnknownSuperclass.h> // Unknown library
#import "SBDisplayProtocol.h"
#import "SpringBoard-Structs.h"
@class NSMutableDictionary, SBAlertView, NSMapTable, NSHashTable, SBAlertManager, UIScreen, SBActivationContext;
@protocol SBAlertDelegate;
__attribute__((visibility("hidden")))
@interface SBAlert : XXUnknownSuperclass <SBDisplayProtocol> {
id<SBAlertDelegate> _alertDelegate;
SBAlertView* _display;
NSMutableDictionary* _dictionary;
SBActivationContext* _activationContext;
BOOL _isWallpaperTunnelActive;
BOOL _backgroundStyleIsSet;
int _backgroundStyle;
NSMapTable* _displayValues;
NSHashTable* _displayFlags;
BOOL _orientationChangedEventsEnabled;
float _accelerometerSampleInterval;
BOOL _requestedDismissal;
UIScreen* _targetScreen;
SBAlertManager* _alertManager;
}
@property(retain, nonatomic) SBAlertManager* alertManager;
@property(assign, nonatomic, getter=_requestedDismissal, setter=_setRequestedDismissal:) BOOL requestedDismissal;
@property(copy, nonatomic) SBActivationContext* activationContext;
+(void)test;
+(void)registerForAlerts;
-(BOOL)_isLockAlert;
-(void)_removeFromImpersonatedAppIfNecessary;
-(id)_impersonatesApplicationWithBundleID;
-(void)removeFromView;
-(void)alertViewIsReadyToDismiss:(id)dismiss;
-(void)setDisplay:(id)display;
-(void)setAlertDelegate:(id)delegate;
-(id)alertDelegate;
-(BOOL)_shouldDismissSwitcherOnActivation;
-(BOOL)suppressesControlCenter;
-(BOOL)suppressesNotificationCenter;
-(BOOL)suppressesBanners;
-(void)handleAutoLock;
-(BOOL)handleHeadsetButtonPressed:(BOOL)pressed;
-(BOOL)handleVolumeDownButtonPressed;
-(BOOL)handleVolumeUpButtonPressed;
-(BOOL)handleLockButtonPressed;
-(BOOL)hasTranslucentBackground;
-(BOOL)shouldPendAlertItemsWhileActive;
-(void)handleSlideshowHardwareButton;
-(BOOL)handleMenuButtonHeld;
-(BOOL)handleMenuButtonDoubleTap;
-(BOOL)handleMenuButtonTap;
-(void)animateDeactivation;
-(BOOL)currentlyAnimatingDeactivation;
-(void)didFinishAnimatingOut;
-(void)didFinishAnimatingIn;
-(void)didAnimateLockKeypadOut;
-(void)didAnimateLockKeypadIn;
-(id)legibilitySettings;
-(id)effectiveStatusBarStyleRequest;
-(int)effectiveStatusBarStyle;
-(id)statusBarStyleRequest;
-(int)starkStatusBarStyle;
-(int)statusBarStyle;
-(double)autoLockTime;
-(BOOL)managesOwnStatusBarAtActivation;
-(double)autoDimTime;
-(BOOL)allowsEventOnlySuspension;
-(BOOL)expectsFaceContactInLandscape;
-(BOOL)expectsFaceContact;
-(void)setExpectsFaceContact:(BOOL)contact inLandscape:(BOOL)landscape;
-(void)setExpectsFaceContact:(BOOL)contact;
-(double)accelerometerSampleInterval;
-(void)setAccelerometerSampleInterval:(double)interval;
-(BOOL)orientationChangedEventsEnabled;
-(void)setOrientationChangedEventsEnabled:(BOOL)enabled;
-(id)description;
-(void)deactivate;
-(int)interfaceOrientationForActivation;
-(void)activate;
-(int)statusBarStyleOverridesToCancel;
-(void)displayDidDisappear;
-(float)finalAlpha;
-(BOOL)showsSpringBoardStatusBar;
-(BOOL)undimsDisplay;
-(BOOL)allowsStackingOfAlert:(id)alert;
-(void)removeObjectForKey:(id)key;
-(id)objectForKey:(id)key;
-(void)setObject:(id)object forKey:(id)key;
-(id)alertDisplayViewWithSize:(CGSize)size;
-(id)deactivationValue:(unsigned)value;
-(BOOL)deactivationFlag:(unsigned)flag;
-(void)setDeactivationSetting:(unsigned)setting value:(id)value;
-(void)setDeactivationSetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearDeactivationSettings;
-(id)activationValue:(unsigned)value;
-(BOOL)activationFlag:(unsigned)flag;
-(void)setActivationSetting:(unsigned)setting value:(id)value;
-(void)setActivationSetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearActivationSettings;
-(void)removeBackgroundStyleWithAnimationFactory:(id)animationFactory;
-(void)setBackgroundStyle:(int)style withAnimationFactory:(id)animationFactory;
-(int)customBackgroundStyle;
-(BOOL)wantsCustomBackgroundStyle;
-(BOOL)isWallpaperTunnelActive;
-(void)setWallpaperTunnelActive:(BOOL)active;
-(BOOL)displayFlag:(unsigned)flag;
-(id)displayValue:(unsigned)value;
-(void)setDisplaySetting:(unsigned)setting value:(id)value;
-(void)setDisplaySetting:(unsigned)setting flag:(BOOL)flag;
-(void)clearDisplaySettings;
-(void)dismissAlert;
-(void)clearDisplay;
-(id)display;
-(void)didRotateFromInterfaceOrientation:(int)interfaceOrientation;
-(void)willAnimateRotationToInterfaceOrientation:(int)interfaceOrientation duration:(double)duration;
-(void)willRotateToInterfaceOrientation:(int)interfaceOrientation duration:(double)duration;
-(BOOL)shouldAutorotateToInterfaceOrientation:(int)interfaceOrientation;
-(void)didMoveToParentViewController:(id)parentViewController;
-(void)viewDidDisappear:(BOOL)view;
-(void)viewWillDisappear:(BOOL)view;
-(void)viewDidAppear:(BOOL)view;
-(void)viewWillAppear:(BOOL)view;
-(void)loadView;
-(BOOL)wantsFullScreenLayout;
-(id)_screen;
-(void)_setTargetScreen:(id)screen;
-(void)dealloc;
-(id)init;
-(BOOL)isRemote;
-(BOOL)matchesRemoteAlertService:(id)service options:(id)options;
-(id)effectiveViewController;
@end