--- a/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h Tue Jan 12 07:32:15 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h Wed Jan 13 09:41:35 2010 +0000
@@ -23,19 +23,24 @@
#import <UIKit/UIKit.h>
#import "SDL_video.h"
+@class GameSetup;
+
@interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> {
UIWindow *window;
SDL_WindowID windowID;
UITabBarController *controller;
+ GameSetup *setup;
}
// the outlets are set in MainWindow.xib
@property (readwrite, retain) IBOutlet UIWindow *window;
@property (readwrite, assign) SDL_WindowID windowID;
@property (nonatomic, retain) IBOutlet UITabBarController *controller;
+@property (nonatomic, retain) GameSetup *setup;
+(SDLUIKitDelegate *)sharedAppDelegate;
-(void) startSDLgame;
++(void) resetFrontend;
int forward_argc;
char **forward_argv;