#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;