Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
376 lines (364 sloc) 16 KB
/**
* This header is generated by class-dump-z 0.1-11o.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*/
#import "UIActionSheetDelegate.h"
#import <UIKit/UIApplication.h>
#import "UIKit-Structs.h"
#import <UIKit/UIResponder.h>
#import <Availability2.h>
@class UIWindow, NSMutableSet, NSArray, NSTimer, UIEvent;
@protocol UIApplicationDelegate;
@protocol UIApplicationEventRecording
-(void)recordApplicationEvent:(NSDictionary*)event;
@end
@interface UIApplication ()
+(BOOL)isRunningInStoreDemoMode;
+(BOOL)shouldMakeUIForDefaultPNG;
+(void)_startWindowServerIfNecessary;
+(BOOL)isRunningEventPump;
+(BOOL)registerForSystemEvents;
+(BOOL)rendersLocally;
+(id)stringForStatusBarStyle:(int)statusBarStyle;
+(int)statusBarStyleForString:(id)string;
+(int)interfaceOrientationForString:(id)string;
+(id)stringForInterfaceOrientation:(int)interfaceOrientation;
-(id)init;
-(void)dealloc;
-(BOOL)shouldLaunchSafe;
-(BOOL)firstLaunchAfterBoot;
-(void)_setDelegate:(id)delegate assumeOwnership:(BOOL)ownership;
-(void)beginIgnoringInteractionEvents;
-(void)endIgnoringInteractionEvents;
-(BOOL)isIgnoringInteractionEvents;
-(BOOL)_isActivated;
-(void)_setActivated:(BOOL)activated;
-(void)_installAutoreleasePoolsIfNecessaryForMode:(CFStringRef)mode;
-(void)_run;
-(void)_reportAppLaunchFinished;
-(void)_registerForDoubleHeightModeChangeNotification;
-(void)_registerForAlertItemStateChangeNotification;
-(void)_registerForSignificantTimeChangeNotification;
-(void)_registerForLanguageChangedNotification;
-(void)_registerForLocaleChangedNotification;
-(void)_registerForTimeChangedNotification;
-(void)_unregisterForSignificantTimeChangeNotification;
-(void)_unregisterForLanguageChangedNotification;
-(void)_unregisterForLocaleChangedNotification;
-(void)_unregisterForTimeChangedNotification;
-(void)_loadMainNibFile;
-(void)pushRunLoopMode:(id)mode;
-(void)popRunLoopMode:(id)mode;
-(void)sendAction:(SEL)action fromSender:(id)sender toTarget:(id)target forEvent:(GSEventRef)event;
-(BOOL)sendAction:(SEL)action toTarget:(id)target fromSender:(id)sender forEvent:(id)event;
-(void)_setDoubleHeightMode:(int)mode;
-(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled;
-(void)setDoubleHeightMode:(int)mode;
-(int)doubleHeightMode;
-(void)setDoubleHeightPrefixText:(id)text;
-(void)setDoubleHeightStatusText:(id)text;
-(void)applicationWillSuspend;
-(void)applicationWillSuspendForEventsOnly;
-(void)applicationWillSuspendUnderLock;
-(void)applicationDidBeginSuspendAnimation;
-(void)applicationDidEndResumeAnimation;
-(void)applicationDidResumeFromUnderLock;
-(void)applicationDidResume;
-(void)applicationDidResumeForEventsOnly;
-(void)applicationWillTerminate;
-(void)_setSuspended:(BOOL)suspended;
-(BOOL)isSuspended;
-(BOOL)isSuspendedEventsOnly;
-(BOOL)isSuspendedUnderLock;
-(void)_setSuspendedEventsOnly:(BOOL)only;
-(void)_setSuspendedUnderLock:(BOOL)lock;
-(BOOL)isAnimatingSuspensionOrResumption;
-(BOOL)_isLaunchedSuspended;
-(void)suspend;
-(void)suspendReturningToLastApp:(BOOL)lastApp;
-(void)applicationSuspended:(GSEventRef)suspended;
-(void)applicationSuspendedSettingsUpdated:(GSEventRef)updated;
-(void)applicationExited:(GSEventRef)exited;
-(void)anotherApplicationFinishedLaunching:(GSEventRef)launching;
-(void)lockButtonDown:(GSEventRef)down;
-(void)lockButtonUp:(GSEventRef)up;
-(void)headsetButtonDown:(GSEventRef)down;
-(void)headsetButtonUp:(GSEventRef)up;
-(void)headsetAvailabilityChanged:(GSEventRef)changed;
-(void)menuButtonDown:(GSEventRef)down;
-(void)menuButtonUp:(GSEventRef)up;
-(void)statusBarMouseDown:(GSEventRef)down;
-(void)statusBarMouseDragged:(GSEventRef)dragged;
-(void)statusBarMouseUp:(GSEventRef)up;
-(void)ringerChanged:(int)changed;
-(void)volumeChanged:(GSEventRef)changed;
-(void)acceleratedInX:(float)x Y:(float)y Z:(float)z;
-(void)deviceOrientationChanged:(GSEventRef)changed;
-(void)proximityStateChanged:(BOOL)changed;
-(void)accessoryAvailabilityChanged:(GSEventRef)changed;
-(void)_handleAccessoryKeyStateChanged:(GSEventRef)changed;
-(void)accessoryKeyStateChanged:(GSEventRef)changed;
-(void)accessoryEvent:(GSEventRef)event;
-(void)lockDevice:(GSEventRef)device;
-(void)quitTopApplication:(GSEventRef)application;
-(void)resetIdleDuration:(double)duration;
-(void)resetIdleTimer;
-(unsigned)simpleRemoteRoutingPriority;
-(void)setSimpleRemoteRoutingPriority:(unsigned)priority;
-(void)_postSimpleRemoteNotificationForAction:(int)action;
-(void)_handleHeadsetButtonUp:(GSEventRef)up;
-(void)_handleHeadsetButtonDown:(GSEventRef)down;
-(void)_handleHeadsetButtonClick;
-(void)_handleHeadsetButtonDoubleClick;
-(void)_handleHeadsetButtonTripleClick;
-(void)_terminateWithStatus:(int)status;
-(void)terminateWithSuccess;
-(void)applicationSuspend:(GSEventRef)suspend;
-(void)_sendApplicationSuspend:(GSEventRef)suspend;
-(void)updateSuspendedSettings:(id)settings;
-(void)applicationResume:(GSEventRef)resume;
-(id)roleID;
-(id)displayIdentifier;
-(BOOL)_canOpenURL:(id)url publicURLsOnly:(BOOL)only;
-(void)applicationOpenToShortCut:(id)shortCut;
-(void)applicationOpenURL:(id)url;
-(void)_applicationOpenURL:(id)url event:(GSEventRef)event;
-(BOOL)isHandlingOpenShortCut;
-(void)_setHandlingURL:(BOOL)url url:(id)url2;
-(BOOL)isHandlingURL;
-(BOOL)isHandlingRemoteNotification;
-(void)showTTYPromptForNumber:(id)number withID:(int)id;
-(void)showNetworkPromptsIfNecessary:(BOOL)necessary;
-(void)setUsesBackgroundNetwork:(BOOL)network;
-(BOOL)usesBackgroundNetwork;
-(id)userHomeDirectory;
-(id)userLibraryDirectory;
-(CGRect)applicationSnapshotRectForOrientation:(int)orientation;
-(CGImageRef)_createDefaultImageSnapshot;
-(void)_writeApplicationDefaultPNGSnapshot;
-(id)nameOfDefaultImageToUpdateAtSuspension;
-(id)pathToDefaultImageNamed:(id)defaultImageNamed;
-(void)_updateDefaultImage;
-(void)prepareForDefaultImageSnapshot;
-(void)removeDefaultImage:(id)image;
-(BOOL)_isInteractionEvent:(GSEventRef)event;
-(BOOL)_isTouchEvent:(GSEventRef)event;
-(BOOL)_isSimulatorMotionEvent:(GSEventRef)event __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
-(BOOL)launchApplicationWithIdentifier:(id)identifier suspended:(BOOL)suspended;
-(void)_runSpringboardCommand:(id)command;
-(void)addStatusBarImageNamed:(id)named removeOnExit:(BOOL)exit;
-(void)addStatusBarImageNamed:(id)named;
-(void)removeStatusBarImageNamed:(id)named;
-(void)setApplicationBadgeString:(id)string;
-(void)addWebClipToHomeScreen:(id)homeScreen;
-(BOOL)homeScreenCanAddIcons;
-(void)_fetchInfoPlistFlags;
-(int)orientation;
-(int)statusBarMode;
-(void)_setStatusBarMode:(int)mode;
-(int)_frontMostAppOrientation;
-(void)_setTouchMap:(CFDictionaryRef)map;
-(CFDictionaryRef)_touchMap;
-(id)_event __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
-(id)_touchesEvent;
-(id)_motionEvent;
-(void)_sendMotionBegan:(int)began;
-(void)_sendMotionEnded:(int)ended;
-(void)_sendMotionCancelled:(int)cancelled;
-(void)_showEditAlertView;
-(void)alertView:(id)view clickedButtonAtIndex:(int)index;
-(void)alertView:(id)view didDismissWithButtonIndex:(int)buttonIndex __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
-(void)alertViewCancel:(id)cancel;
-(void)motionEnded:(int)ended withEvent:(id)event;
-(id)_exclusiveTouchWindows;
-(BOOL)_isTrackingAnyTouch;
-(void)_setUserDefaultsSyncEnabled:(BOOL)enabled;
-(void)_prepareToSetStatusBarMode:(int)setStatusBarMode orientation:(int)orientation duration:(float)duration;
-(void)_finishedSettingStatusBarMode:(int)mode oldMode:(int)mode2 newOrientation:(int)orientation oldOrientation:(int)orientation4;
-(BOOL)_useDoubleHeightStatusBarForMode:(int)mode orientation:(int)orientation;
-(void)setStatusBarMode:(int)mode orientation:(int)orientation duration:(float)duration fenceID:(int)id animation:(int)animation startTime:(double)time;
-(void)setStatusBarMode:(int)mode orientation:(int)orientation duration:(float)duration fenceID:(int)id animation:(int)animation;
-(void)setStatusBarMode:(int)mode orientation:(int)orientation duration:(float)duration fenceID:(int)id;
-(void)setStatusBarMode:(int)mode orientation:(int)orientation duration:(float)duration;
-(void)setStatusBarMode:(int)mode duration:(float)duration;
-(void)setStatusBarCustomText:(id)text;
-(void)removeStatusBarCustomText;
-(void)_setStatusBarShowsProgress:(BOOL)progress;
-(void)setStatusBarShowsProgress:(BOOL)progress;
-(BOOL)_usesEmoji;
-(void)setIgnoresInteractionEvents:(BOOL)events;
-(BOOL)ignoresInteractionEvents;
-(unsigned)blockInteractionEventsCount;
-(void)significantTimeChange;
-(void)batteryStatusDidChange:(id)batteryStatus;
-(void)_handleUserDefaultsDidChange:(id)_handleUserDefaults;
-(void)userDefaultsDidChange:(id)userDefaults;
-(void)_clearTouchesForView:(id)view;
-(void)_cancelCurrentTouchEvent;
-(void)_registerForUserDefaultsChanges;
-(void)_unregisterForUserDefaultsChanges;
-(void)vibrateForDuration:(int)duration;
-(void)setBacklightFactor:(int)factor;
-(void)setBacklightLevel:(float)level;
-(void)setProximitySensorEnabled:(BOOL)enabled;
-(void)setSuspensionAnimationDelay:(double)delay;
-(void)setSystemVolumeHUDEnabled:(BOOL)enabled forAudioCategory:(id)audioCategory;
-(void)setSystemVolumeHUDEnabled:(BOOL)enabled;
-(void)_dumpUIHierarchy:(GSEventRef)hierarchy;
-(void)_dumpScreenContents:(GSEventRef)contents;
-(void)_processScriptEvent:(GSEventRef)event;
-(void)_performMemoryWarning;
-(void)didReceiveMemoryWarning;
-(void)didReceiveUrgentMemoryWarningSuspendedAndWillTerminate;
-(void)_receivedMemoryNotification;
-(void)setReceivesMemoryWarnings:(BOOL)warnings;
-(void)_registerForDisplayOnOff;
-(void)_unregisterForDisplayOnOff;
-(void)didTurnOnDisplay;
-(void)didTurnOffDisplay;
-(void)_noteStatusBarHeightChanged:(float)changed fence:(int)fence;
-(void)statusBarWillAnimateToHeight:(float)statusBar duration:(double)duration fence:(int)fence;
-(void)_purgeSharedInstances;
-(void)_playbackTimerCallback:(id)callback;
-(void)_startPlaybackTimer;
-(void)_addRecorder:(id)recorder;
-(void)_removeRecorder:(id)recorder;
-(void)_playbackEvents:(id)events atPlaybackRate:(float)playbackRate messageWhenDone:(id)done withSelector:(SEL)selector;
-(int)lastEventType;
-(void)_cancelGestureRecognizers:(id)recognizers;
-(void)_cancelGestureRecognizersForView:(id)view;
-(void)_cancelTouches:(id)touches withEvent:(id)event sendingTouchesCancelled:(BOOL)cancelled includingGestures:(BOOL)gestures;
-(void)_cancelAllTouches;
-(void)_cancelEvent:(id)event forWindow:(id)window;
-(void)_cancelEvent:(id)event;
-(BOOL)_shouldHandleTestURL:(id)url;
-(BOOL)handleEvent:(GSEventRef)event;
-(BOOL)handleEvent:(GSEventRef)event withNewEvent:(id)newEvent;
-(void)setUIOrientation:(int)orientation;
-(void)setExpectsFaceContact:(BOOL)contact;
-(void)setRelaunchesAfterAbnormalExit:(BOOL)relaunches;
-(void)applicationWillOrderInContext:(unsigned)application windowLevel:(float)level windowOutput:(int)anOutput;
-(void)applicationDidOrderOutContext:(unsigned)application;
-(void)_sendOrderedOutContexts;
-(void)didDismissMiniAlert;
-(void)willDisplayMiniAlert:(int*)alert;
-(void)willDismissMiniAlert:(int*)alert andShowAnother:(BOOL)another;
-(void)setHasMiniAlerts:(BOOL)alerts;
-(BOOL)isLocked;
-(BOOL)isPasscodeRequiredToUnlock;
-(void)requestDeviceUnlock;
-(BOOL)canShowAlerts;
-(id)displayIDForURLScheme:(id)urlscheme isPublic:(BOOL)aPublic;
-(int)alertOrientation;
-(void)runModal:(id)modal;
-(void)stopModal;
-(BOOL)_supportsShakesWhenNotActive;
-(int)enabledRemoteNotificationTypes;
-(void)registerForRemoteNotificationTypes:(int)remoteNotificationTypes;
-(void)unregisterForRemoteNotifications;
-(BOOL)_isViewGroupOpacityDisabled;
-(BOOL)_isViewEdgeAntialiasingDisabled;
-(void)_hideNetworkActivityIndicator;
-(void)_beginShowingNetworkActivityIndicator;
-(void)_endShowingNetworkActivityIndicator;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
-(id)_extendLaunchTest;
-(id)_launchTestName;
-(void)_performInitializationWithURL:(id)url payload:(id)payload;
-(void)_runWithURL:(id)url payload:(id)payload launchOrientation:(int)orientation;
-(void)_setStatusBarStyle:(int)style orientation:(int)orientation withAnimation:(int)animation;
-(unsigned)_frontmostApplicationPort;
-(void)mediaKeyDown:(GSEventRef)down;
-(void)mediaKeyUp:(GSEventRef)up;
-(id)userCachesDirectory;
-(void)_setIsClassic:(BOOL)classic;
-(BOOL)_isSystemApplication;
-(int)interfaceOrientation;
-(void)_setRotationDisabledDuringTouch:(BOOL)touch;
-(BOOL)_rotationDisabledDuringTouch;
-(void)_prepareToSetStatusBarOrientation:(int)setStatusBarOrientation duration:(float)duration;
-(void)_finishedSettingStatusBarOrientation:(int)orientation oldOrientation:(int)orientation2;
-(CGRect)statusBarFrameForOrientation:(int)orientation;
-(float)statusBarHeightForOrientation:(int)orientation ignoreHidden:(BOOL)hidden;
-(float)statusBarHeightForOrientation:(int)orientation;
-(void)_setStatusBarHeight:(float)height;
-(float)statusBarHeight;
-(int)activeInterfaceOrientation;
-(int)_getSpringBoardOrientation;
-(double)windowRotationDuration;
-(void)_stopPlayback;
-(void)handleKeyEvent:(GSEventRef)event;
-(BOOL)_isClassic;
-(BOOL)_shouldZoom;
-(void)_setShouldZoom:(BOOL)shouldZoom;
-(void)setStatusBarModeBlockingWithOrientation:(int)orientation duration:(float)duration fenceID:(int)anId sender:(id)sender;
-(BOOL)shouldFenceStatusBarRotation;
#else
-(void)_performInitializationWithURL:(id)url sourceBundleID:(id)bundleID;
-(void)_runWithURL:(id)url sourceBundleID:(id)bundleID;
-(void)_setStatusBarStyle:(int)style orientation:(int)orientation animated:(BOOL)animated;
-(CGRect)_statusBarFrameForMode:(int)mode orientation:(int)orientation;
-(unsigned)_portForEvent:(GSEventRef)event;
-(CGRect)statusBarRect;
-(void)handleOutOfLineDataResponse:(id)lineDataResponse requestID:(unsigned)requestID;
-(void)handleOutOfLineDataRequest:(GSEventRef)lineDataRequest;
-(float)currentStatusBarHeightForMode:(int)mode orientation:(int)orientation;
-(int)_getCurrentStatusBarOrientationFromSB;
#endif
@end
@interface UIApplication (UIApplicationTesting)
-(BOOL)launchedToTest;
-(BOOL)runTest:(id)test options:(id)options;
-(BOOL)reportApplicationSuspended;
-(id)_pathForFrameworkName:(id)frameworkName inPrivate:(BOOL)aPrivate;
-(void*)_getSymbol:(id)symbol forFramework:(id)framework;
-(BOOL)isRunningTest;
-(void)startedTest:(id)test;
-(CFMessagePortRef)_purplePPTServerPort __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_1);
-(void)_reportResults:(id)results;
-(void)finishedTest:(id)test extraResults:(id)results;
-(void)finishedTest:(id)test;
-(void)failedTest:(id)test;
-(BOOL)handleTestURL:(id)url;
-(void)startCHUDRecording:(id)recording;
-(void)stopCHUDRecording;
-(void)enableFramebufferStatisticsGathering;
-(void)_leak;
-(void)startLeaking;
-(void)stopLeaking;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
-(id)_currentTests;
-(void)runTest:(id)test startingBeforeAnimation:(id)animation stoppingAfterAnimation:(id)animation3;
-(void)_noteAnimationStarted:(id)started;
-(void)_noteAnimationFinished:(id)finished;
-(void)runTest:(id)test forAnimation:(id)animation;
-(void)testPrep:(id)prep options:(id)options;
-(BOOL)rotateIfNeeded:(int)needed;
-(void)setDeviceOrientation:(int)orientation;
-(void)_handleKeyEvent:(GSEventRef)event;
-(void)setHardwareKeyboardLayoutName:(id)name;
#endif
@end
@interface UIApplication (UIAlertSheetAppAdditions)
-(void)_alertSheetStackChanged;
@end
@interface UIApplication (UIKitApplicationAccessibility)
-(BOOL)_accessibilityCaptureSimulatorEvent:(GSEventRef)event;
-(BOOL)_accessibilitySettingsLoaderPresent;
-(id)_accessibilitySettingsBundle;
-(void)_updateAccessibilityItunesSettings;
-(void)_updateAccessibilitySettingsLoader;
-(BOOL)_accessibilityApplicationIsSystemWideServer;
-(Class)_accessibilityBundlePrincipalClass;
-(void)_updateApplicationAccessibility;
-(void)_accessibilityInit;
-(void)_accessibilityStatusChanged:(id)changed;
@end
@interface UIApplication (UIApplication_RemoteSheet)
-(void)beginRemoteSheet:(id)sheet delegate:(id)delegate didEndSelector:(SEL)selector contextInfo:(void*)info;
-(void)beginRemoteSheet:(id)sheet delegate:(id)delegate didEndSelector:(SEL)selector contextInfo:(void*)info requireTopApplication:(BOOL)application __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_2);
-(void)endRemoteSheet:(id)sheet;
-(void)endRemoteSheet:(id)sheet returnCode:(int)code;
-(void)_sheetWithRemoteIdentifierDidDismiss:(id)_sheetWithRemoteIdentifier;
@end
UIKIT_EXTERN UIApplication* UIApp;
Jump to Line
Something went wrong with that request. Please try again.