]> git.saurik.com Git - iphone-api.git/blobdiff - UIKit/UIApplication.h
This one only took me maybe a half hour to find.
[iphone-api.git] / UIKit / UIApplication.h
index 629fd0411ed510a84bbc67d4466f4bb87b99639f..f21dcff99a1f6644689e85fae3d5b47fa13cfac5 100644 (file)
@@ -7,10 +7,11 @@
 #import <UIKit/UIResponder.h>
 
 @class NSArray, NSMutableSet, UIEvent;
+@protocol UIApplicationDelegate;
 
 @interface UIApplication : UIResponder
 {
-    id /*XXX:<UIApplicationDelegate>*/ _delegate;
+    id <UIApplicationDelegate> _delegate;
     struct __CFDictionary *_touchMap;
     NSMutableSet *_exclusiveTouchWindows;
     UIEvent *_event;
 - (BOOL)_isLaunchedSuspended;
 - (unsigned int)_portForEvent:(struct __GSEvent *)fp8;
 - (void)suspendWithAnimation:(BOOL)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)suspend;
+#endif
 - (BOOL)registerForSystemEvents;
 - (BOOL)rendersLocally;
 - (void)applicationStarted:(struct __GSEvent *)fp8;
 - (BOOL)launchApplicationWithIdentifier:(id)fp8 suspended:(BOOL)fp12;
 - (void)_runSpringboardCommand:(id)fp8;
 - (void)addStatusBarImageNamed:(id)fp8 removeOnAbnormalExit:(BOOL)fp12;
+#if 1 // iPhoneOS 2.2
+- (void)addStatusBarImageNamed:(id)fp8 removeOnExit:(BOOL)fp12;
+#endif
 - (void)addStatusBarImageNamed:(id)fp8;
 - (void)removeStatusBarImageNamed:(id)fp8;
 - (id)applicationBadge;
 - (void)setApplicationBadge:(id)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)setApplicationBadgeString:(id)fp8;
+#endif
 - (void)removeApplicationBadge;
 - (int)applicationIconBadgeNumber;
 - (void)setApplicationIconBadgeNumber:(int)fp8;