]>
Commit | Line | Data |
---|---|---|
2cd8f71b JF |
1 | /* |
2 | * Generated by class-dump 3.1.2. | |
3 | * | |
4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. | |
5 | */ | |
6 | ||
7 | #import <UIKit/UIResponder.h> | |
8 | ||
9 | @class NSArray, NSMutableSet, UIEvent; | |
10 | ||
11 | @interface UIApplication : UIResponder | |
12 | { | |
13 | id /*XXX:<UIApplicationDelegate>*/ _delegate; | |
14 | struct __CFDictionary *_touchMap; | |
15 | NSMutableSet *_exclusiveTouchWindows; | |
16 | UIEvent *_event; | |
17 | NSArray *_topLevelNibObjects; | |
18 | int _orientation; | |
19 | struct { | |
20 | unsigned int isActive:1; | |
21 | unsigned int isSuspended:1; | |
22 | unsigned int isSuspendedEventsOnly:1; | |
23 | unsigned int isLaunchedSuspended:1; | |
24 | unsigned int isHandlingURL:1; | |
25 | unsigned int statusBarMode:8; | |
26 | unsigned int statusBarShowsProgress:1; | |
27 | unsigned int blockInteractionEvents:3; | |
28 | unsigned int animatingKeyboard:1; | |
29 | unsigned int forceExit:1; | |
30 | unsigned int receivesMemoryWarnings:1; | |
31 | unsigned int animatedSuspension:1; | |
32 | unsigned int pendingSuspension:2; | |
33 | unsigned int animateResumeNoPNG:1; | |
34 | unsigned int showingProgress:1; | |
35 | unsigned int receivesPowerMessages:1; | |
36 | unsigned int isSuspendedUnderLock:1; | |
37 | unsigned int shouldExitAfterSendSuspend:1; | |
38 | unsigned int terminating:1; | |
39 | unsigned int useCompatibleSuspendAnimation:3; | |
40 | unsigned int isHandlingShortCutURL:1; | |
41 | unsigned int proximitySensingEnabled:1; | |
42 | unsigned int idleTimerDisabled:1; | |
43 | unsigned int statusBarStyle:4; | |
44 | unsigned int statusBarHidden:1; | |
45 | unsigned int statusBarOrientation:3; | |
46 | unsigned int deviceOrientation:3; | |
47 | unsigned int delegateShouldBeReleasedUponSet:1; | |
48 | unsigned int delegateHandleOpenURL:1; | |
49 | unsigned int delegateDidReceiveMemoryWarning:1; | |
50 | unsigned int delegateWillTerminate:1; | |
51 | unsigned int delegateSignificantTimeChange:1; | |
52 | unsigned int delegateWillChangeInterfaceOrientation:1; | |
53 | unsigned int delegateDidChangeInterfaceOrientation:1; | |
54 | unsigned int delegateWillChangeStatusBarFrame:1; | |
55 | unsigned int delegateDidChangeStatusBarFrame:1; | |
56 | unsigned int delegateDeviceAccelerated:1; | |
57 | unsigned int delegateDeviceChangedOrientation:1; | |
58 | unsigned int delegateDidBecomeActive:1; | |
59 | unsigned int delegateWillResignActive:1; | |
60 | unsigned int idleTimerDisableActive:1; | |
61 | } _applicationFlags; | |
62 | } | |
63 | ||
64 | + (id)sharedApplication; | |
65 | + (BOOL)isRunningInStoreDemoMode; | |
66 | + (BOOL)shouldMakeUIForDefaultPNG; | |
67 | - (id)init; | |
68 | - (void)dealloc; | |
69 | - (BOOL)shouldLaunchSafe; | |
70 | - (BOOL)firstLaunchAfterBoot; | |
71 | - (void)_setDelegate:(id)fp8 assumeOwnership:(BOOL)fp12; | |
72 | - (void)setDelegate:(id)fp8; | |
73 | - (id)delegate; | |
74 | - (void)beginIgnoringInteractionEvents; | |
75 | - (void)endIgnoringInteractionEvents; | |
76 | - (BOOL)isIgnoringInteractionEvents; | |
77 | - (void)setProximitySensingEnabled:(BOOL)fp8; | |
78 | - (BOOL)isProximitySensingEnabled; | |
79 | - (void)setIdleTimerDisabled:(BOOL)fp8; | |
80 | - (BOOL)isIdleTimerDisabled; | |
81 | - (void)_setActivated:(BOOL)fp8; | |
82 | - (void)performInitializationWithURL:(id)fp8 asPanel:(BOOL)fp12; | |
83 | - (void)_installAutoreleasePoolsIfNecessaryForMode:(struct __CFString *)fp8; | |
84 | - (void)_run; | |
85 | - (void)_runWithURL:(id)fp8; | |
86 | - (void)reportAppLaunchFinished; | |
87 | - (void)_registerForAlertItemStateChangeNotification; | |
88 | - (void)_registerForSignificantTimeChangeNotification; | |
89 | - (void)_registerForLanguageChangedNotification; | |
90 | - (void)_registerForLocaleChangedNotification; | |
91 | - (void)_registerForTimeChangedNotification; | |
92 | - (void)_unregisterForSignificantTimeChangeNotification; | |
93 | - (void)_unregisterForLanguageChangedNotification; | |
94 | - (void)_unregisterForLocaleChangedNotification; | |
95 | - (void)_unregisterForTimeChangedNotification; | |
96 | - (void)_loadMainNibFile; | |
97 | - (void)pushRunLoopMode:(id)fp8; | |
98 | - (void)popRunLoopMode:(id)fp8; | |
99 | - (void)sendAction:(SEL)fp8 fromSender:(id)fp12 toTarget:(id)fp16 forEvent:(struct __GSEvent *)fp20; | |
100 | - (BOOL)sendAction:(SEL)fp8 toTarget:(id)fp12 fromSender:(id)fp16 forEvent:(id)fp20; | |
101 | - (BOOL)sendAction:(SEL)fp8 to:(id)fp12 from:(id)fp16 forEvent:(id)fp20; | |
102 | - (void)setNetworkActivityIndicatorVisible:(BOOL)fp8; | |
103 | - (BOOL)isNetworkActivityIndicatorVisible; | |
104 | - (void)_setStatusBarStyle:(int)fp8 orientation:(int)fp12 animated:(BOOL)fp16; | |
105 | - (void)setStatusBarStyle:(int)fp8 animated:(BOOL)fp12; | |
106 | - (void)setStatusBarStyle:(int)fp8; | |
107 | - (int)statusBarStyle; | |
108 | - (void)setStatusBarHidden:(BOOL)fp8 animated:(BOOL)fp12; | |
109 | - (void)setStatusBarHidden:(BOOL)fp8; | |
110 | - (BOOL)isStatusBarHidden; | |
111 | - (void)setStatusBarOrientation:(int)fp8 animated:(BOOL)fp12; | |
112 | - (void)setStatusBarOrientation:(int)fp8; | |
113 | - (int)statusBarOrientation; | |
114 | - (double)statusBarOrientationAnimationDuration; | |
115 | - (struct CGRect)statusBarFrame; | |
116 | - (struct CGRect)_statusBarFrameForMode:(int)fp8 orientation:(int)fp12; | |
117 | - (void)applicationWillSuspend; | |
118 | - (void)applicationWillSuspendForEventsOnly; | |
119 | - (void)applicationWillSuspendUnderLock; | |
120 | - (void)applicationDidResumeFromUnderLock; | |
121 | - (void)applicationDidResume; | |
122 | - (void)applicationDidResumeForEventsOnly; | |
123 | - (void)applicationWillTerminate; | |
124 | - (BOOL)applicationIsReadyToSuspend; | |
125 | - (void)_setSuspended:(BOOL)fp8; | |
126 | - (void)_setForceExit:(BOOL)fp8; | |
127 | - (BOOL)isSuspended; | |
128 | - (BOOL)isSuspendedEventsOnly; | |
129 | - (BOOL)isSuspendedUnderLock; | |
130 | - (void)_setSuspendedEventsOnly:(BOOL)fp8; | |
131 | - (void)_setSuspendedUnderLock:(BOOL)fp8; | |
132 | - (BOOL)_shouldAnimateResumption; | |
133 | - (BOOL)_isLaunchedSuspended; | |
134 | - (unsigned int)_portForEvent:(struct __GSEvent *)fp8; | |
135 | - (void)suspendWithAnimation:(BOOL)fp8; | |
136 | - (BOOL)registerForSystemEvents; | |
137 | - (BOOL)rendersLocally; | |
138 | - (void)applicationStarted:(struct __GSEvent *)fp8; | |
139 | - (void)applicationSuspended:(struct __GSEvent *)fp8; | |
140 | - (void)applicationSuspendedSettingsUpdated:(struct __GSEvent *)fp8; | |
141 | - (void)applicationExited:(struct __GSEvent *)fp8; | |
142 | - (void)anotherApplicationFinishedLaunching:(struct __GSEvent *)fp8; | |
143 | - (void)lockButtonDown:(struct __GSEvent *)fp8; | |
144 | - (void)lockButtonUp:(struct __GSEvent *)fp8; | |
145 | - (void)headsetButtonDown:(struct __GSEvent *)fp8; | |
146 | - (void)headsetButtonUp:(struct __GSEvent *)fp8; | |
147 | - (void)menuButtonDown:(struct __GSEvent *)fp8; | |
148 | - (void)menuButtonUp:(struct __GSEvent *)fp8; | |
149 | - (void)statusBarMouseDown:(struct __GSEvent *)fp8; | |
150 | - (void)statusBarMouseDragged:(struct __GSEvent *)fp8; | |
151 | - (void)statusBarMouseUp:(struct __GSEvent *)fp8; | |
152 | - (void)ringerChanged:(int)fp8; | |
153 | - (void)volumeChanged:(struct __GSEvent *)fp8; | |
154 | - (void)acceleratedInX:(float)fp8 Y:(float)fp12 Z:(float)fp16; | |
155 | - (void)deviceOrientationChanged:(struct __GSEvent *)fp8; | |
156 | - (void)proximityStateChanged:(BOOL)fp8; | |
157 | - (void)accessoryAvailabilityChanged:(struct __GSEvent *)fp8; | |
158 | - (void)_handleAccessoryKeyStateChanged:(struct __GSEvent *)fp8; | |
159 | - (void)accessoryKeyStateChanged:(struct __GSEvent *)fp8; | |
160 | - (void)accessoryEvent:(struct __GSEvent *)fp8; | |
161 | - (void)handleOutOfLineDataResponse:(struct __GSEvent *)fp8; | |
162 | - (void)handleOutOfLineDataRequest:(struct __GSEvent *)fp8; | |
163 | - (void)lockDevice:(struct __GSEvent *)fp8; | |
164 | - (void)quitTopApplication:(struct __GSEvent *)fp8; | |
165 | - (void)resetIdleDuration:(double)fp8; | |
166 | - (void)resetIdleTimer; | |
167 | - (void)_terminateWithStatus:(int)fp8; | |
168 | - (void)terminate; | |
169 | - (void)terminateWithSuccess; | |
170 | - (void)applicationSuspend:(struct __GSEvent *)fp8; | |
171 | - (void)_sendApplicationSuspend:(struct __GSEvent *)fp8; | |
172 | - (void)updateSuspendedSettings:(id)fp8; | |
173 | - (void)applicationResume:(struct __GSEvent *)fp8; | |
174 | - (id)roleID; | |
175 | - (id)displayIdentifier; | |
176 | - (BOOL)shouldShowPreferences; | |
177 | - (BOOL)_useLegacyEventSystem; | |
178 | - (void)openURL:(id)fp8 asPanel:(BOOL)fp12; | |
179 | - (BOOL)openURL:(id)fp8; | |
180 | - (void)applicationOpenToShortCut:(id)fp8; | |
181 | - (void)applicationOpenURL:(id)fp8; | |
182 | - (void)applicationOpenURL:(id)fp8 asPanel:(BOOL)fp12; | |
183 | - (void)_applicationOpenURL:(id)fp8 asPanel:(BOOL)fp12; | |
184 | - (BOOL)isHandlingOpenShortCut; | |
185 | - (void)_setHandlingURL:(BOOL)fp8 url:(id)fp12; | |
186 | - (BOOL)isHandlingURL; | |
187 | - (void)applicationShowHideSettings:(struct __GSEvent *)fp8; | |
188 | - (void)showTTYPromptForNumber:(id)fp8 withID:(int)fp12; | |
189 | - (void)showNetworkPromptsIfNecessary:(BOOL)fp8; | |
190 | - (void)setUsesBackgroundNetwork:(BOOL)fp8; | |
191 | - (BOOL)usesBackgroundNetwork; | |
192 | - (void)_finishResume; | |
193 | - (void)_finishSuspension; | |
194 | - (void)_finishSuspensionEventOnlyAnimation; | |
195 | - (void)_finishSuspensionEventOnly; | |
196 | - (int)suspendAnimationType; | |
197 | - (BOOL)useCompatibleSuspensionAnimation; | |
198 | - (void)setUseCompatibleSuspensionAnimation:(BOOL)fp8; | |
199 | - (void)_animateSuspension:(BOOL)fp8 duration:(double)fp12 startTime:(double)fp20 scale:(float)fp28; | |
200 | - (void)_setupResumeAnimation; | |
201 | - (void)_animateResumptionWithStartTime:(double)fp8 duration:(double)fp16 withPNG:(BOOL)fp24; | |
202 | - (void)_animateSlideSuspension:(double)fp8; | |
203 | - (void)_windowDeallocating:(id)fp8; | |
204 | - (void)_animateSuspension; | |
205 | - (BOOL)animateSuspensionReturningToLastApp:(double)fp8; | |
206 | - (void)otherApplicationWillSuspend:(struct __GSEvent *)fp8; | |
207 | - (id)userHomeDirectory; | |
208 | - (id)userLibraryDirectory; | |
209 | - (struct CGRect)applicationSnapshotRectForOrientation:(int)fp8; | |
210 | - (struct CGImage *)createApplicationDefaultPNG; | |
211 | - (void)_writeApplicationSnapshot; | |
212 | - (id)nameOfDefaultImageToUpdateAtSuspension; | |
213 | - (id)_pathToDefaultImageNamed:(id)fp8; | |
214 | - (void)_updateDefaultImage; | |
215 | - (void)removeDefaultImage:(id)fp8; | |
216 | - (BOOL)_isInteractionEvent:(struct __GSEvent *)fp8; | |
217 | - (BOOL)_isTouchEvent:(struct __GSEvent *)fp8; | |
218 | - (BOOL)launchApplicationWithIdentifier:(id)fp8 suspended:(BOOL)fp12; | |
219 | - (void)_runSpringboardCommand:(id)fp8; | |
220 | - (void)addStatusBarImageNamed:(id)fp8 removeOnAbnormalExit:(BOOL)fp12; | |
221 | - (void)addStatusBarImageNamed:(id)fp8; | |
222 | - (void)removeStatusBarImageNamed:(id)fp8; | |
223 | - (id)applicationBadge; | |
224 | - (void)setApplicationBadge:(id)fp8; | |
225 | - (void)removeApplicationBadge; | |
226 | - (int)applicationIconBadgeNumber; | |
227 | - (void)setApplicationIconBadgeNumber:(int)fp8; | |
228 | - (void)addDownloadingIconToHomeScreen:(id)fp8; | |
229 | - (void)addWebClipToHomeScreen:(id)fp8; | |
230 | - (BOOL)homeScreenCanAddIcons; | |
231 | - (struct CGRect)statusBarRect; | |
232 | - (void)_fetchInfoPlistFlags; | |
233 | - (int)orientation; | |
234 | - (int)statusBarMode; | |
235 | - (int)_frontMostAppOrientation; | |
236 | - (void)_setTouchMap:(struct __CFDictionary *)fp8; | |
237 | - (struct __CFDictionary *)_touchMap; | |
238 | - (id)_event; | |
239 | - (id)_exclusiveTouchWindows; | |
240 | - (BOOL)_isTrackingAnyTouch; | |
241 | - (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16 fenceID:(int)fp20 animation:(int)fp24; | |
242 | - (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16 fenceID:(int)fp20; | |
243 | - (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16; | |
244 | - (void)setStatusBarMode:(int)fp8 duration:(float)fp12; | |
245 | - (void)setStatusBarCustomText:(id)fp8; | |
246 | - (void)removeStatusBarCustomText; | |
247 | - (void)_setStatusBarShowsProgress:(id)fp8; | |
248 | - (void)setStatusBarShowsProgress:(BOOL)fp8; | |
249 | - (void)setIgnoresInteractionEvents:(BOOL)fp8; | |
250 | - (BOOL)ignoresInteractionEvents; | |
251 | - (int)blockInteractionEvents; | |
252 | - (void)significantTimeChange; | |
253 | - (BOOL)is24HourMode; | |
254 | - (void)_handleUserDefaultsDidChange:(id)fp8; | |
255 | - (void)userDefaultsDidChange:(id)fp8; | |
256 | - (void)_clearTouchesForView:(id)fp8; | |
257 | - (void)_cancelCurrentTouchEvent; | |
258 | - (void)_registerForUserDefaultsChanges; | |
259 | - (void)_unregisterForUserDefaultsChanges; | |
260 | - (void)vibrateForDuration:(int)fp8; | |
261 | - (void)setBacklightFactor:(int)fp8; | |
262 | - (void)setBacklightLevel:(float)fp8; | |
263 | - (void)setProximitySensorEnabled:(BOOL)fp8; | |
264 | - (void)setSystemVolumeHUDEnabled:(BOOL)fp8 forAudioCategory:(id)fp12; | |
265 | - (void)setSystemVolumeHUDEnabled:(BOOL)fp8; | |
266 | - (void)_dumpUIHierarchy:(struct __GSEvent *)fp8; | |
267 | - (void)_dumpScreenContents:(struct __GSEvent *)fp8; | |
268 | - (void)_processScriptEvent:(struct __GSEvent *)fp8; | |
269 | - (void)_performMemoryWarning; | |
270 | - (void)didReceiveMemoryWarning; | |
271 | - (void)didReceiveUrgentMemoryWarning; | |
272 | - (void)_receivedMemoryNotification; | |
273 | - (void)setReceivesMemoryWarnings:(BOOL)fp8; | |
274 | - (void)_registerForSleepWake; | |
275 | - (void)_unregisterForSleepWake; | |
276 | - (void)willSleep; | |
277 | - (void)didWake; | |
278 | - (void)_noteStatusBarHeightChanged:(float)fp8 fence:(int)fp12; | |
279 | - (void)statusBarWillAnimateToHeight:(float)fp8 duration:(double)fp12 fence:(int)fp20; | |
280 | - (int)lastEventType; | |
281 | - (void)_cancelTouches:(id)fp8 withEvent:(id)fp12; | |
282 | - (void)_cancelAllTouches; | |
283 | - (void)_cancelEvent:(id)fp8 forWindow:(id)fp12; | |
284 | - (void)_cancelEvent:(id)fp8; | |
285 | - (BOOL)handleEvent:(struct __GSEvent *)fp8; | |
286 | - (BOOL)handleEvent:(struct __GSEvent *)fp8 withNewEvent:(id)fp12; | |
287 | - (void)sendEvent:(id)fp8; | |
288 | - (id)keyWindow; | |
289 | - (id)windows; | |
290 | - (void)setUIOrientation:(int)fp8; | |
291 | - (void)setExpectsFaceContact:(BOOL)fp8; | |
292 | - (void)setRelaunchesAfterAbnormalExit:(BOOL)fp8; | |
293 | - (void)didDismissMiniAlert; | |
294 | - (void)willDisplayMiniAlert:(int *)fp8; | |
295 | - (void)willDismissMiniAlert:(int *)fp8 andShowAnother:(BOOL)fp12; | |
296 | - (BOOL)isLocked; | |
297 | - (BOOL)isPasscodeRequiredToUnlock; | |
298 | - (void)requestDeviceUnlock; | |
299 | - (BOOL)canShowAlerts; | |
300 | - (id)displayIDForURLScheme:(id)fp8 isPublic:(BOOL)fp12; | |
301 | - (int)alertOrientation; | |
302 | - (void)runModal:(id)fp8; | |
303 | - (void)stopModal; | |
304 | ||
305 | @end | |
306 |