equal
deleted
inserted
replaced
19 Sam Lantinga |
19 Sam Lantinga |
20 slouken@libsdl.org |
20 slouken@libsdl.org |
21 */ |
21 */ |
22 |
22 |
23 #import <UIKit/UIKit.h> |
23 #import <UIKit/UIKit.h> |
24 #import "SDL_uikitopenglview.h" |
|
25 |
24 |
26 @class MainMenuViewController; |
25 @class MainMenuViewController; |
27 @class OverlayViewController; |
|
28 |
26 |
29 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { |
27 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { |
30 MainMenuViewController *mainViewController; |
28 MainMenuViewController *mainViewController; |
|
29 UIWindow *uiwindow; |
|
30 UIWindow *secondWindow; |
31 BOOL isInGame; |
31 BOOL isInGame; |
32 } |
32 } |
33 |
33 |
34 @property (nonatomic,retain) MainMenuViewController *mainViewController; |
34 @property (nonatomic,retain) MainMenuViewController *mainViewController; |
|
35 @property (nonatomic,retain) UIWindow *uiwindow; |
|
36 @property (nonatomic,retain) UIWindow *secondWindow; |
35 |
37 |
36 +(SDLUIKitDelegate *)sharedAppDelegate; |
38 +(SDLUIKitDelegate *)sharedAppDelegate; |
37 -(void) startSDLgame:(NSDictionary *)gameDictionary; |
39 -(void) startSDLgame:(NSDictionary *)gameDictionary; |
38 -(void) displayOverlayLater:(NSNumber *)isNetGame ; |
40 -(void) displayOverlayLater:(NSNumber *)isNetGame ; |
39 |
41 |