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