cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h
changeset 3116 97dc65a47b15
parent 3063 0092dc37fbd6
child 3305 91074496d5c9
equal deleted inserted replaced
3115:831bd0f7050d 3116:97dc65a47b15
    22 
    22 
    23 #import <UIKit/UIKit.h>
    23 #import <UIKit/UIKit.h>
    24 #import "SDL_video.h"
    24 #import "SDL_video.h"
    25 
    25 
    26 @class MainMenuViewController;
    26 @class MainMenuViewController;
    27 @class overlayViewController;
    27 @class OverlayViewController;
    28 
    28 
    29 @interface SDLUIKitDelegate:NSObject <UIApplicationDelegate> {
    29 @interface SDLUIKitDelegate:NSObject <UIApplicationDelegate> {
    30 	SDL_Window *window;
    30 	SDL_Window *window;
    31 	UIWindow *uiwindow;
    31 	UIWindow *uiwindow;
    32 	MainMenuViewController *viewController;
    32 	MainMenuViewController *viewController;
    33     overlayViewController *overlayController;
    33     OverlayViewController *overlayController;
    34     BOOL isInGame;
    34     BOOL isInGame;
    35 }
    35 }
    36 
    36 
    37 @property (readwrite, assign) SDL_Window *window;
    37 @property (readwrite, assign) SDL_Window *window;
    38 @property (readwrite, retain) UIWindow *uiwindow;
    38 @property (readwrite, retain) UIWindow *uiwindow;
    39 @property (nonatomic, retain) MainMenuViewController *viewController;
    39 @property (nonatomic, retain) MainMenuViewController *viewController;
    40 @property (nonatomic, retain) overlayViewController *overlayController;
    40 @property (nonatomic, retain) OverlayViewController *overlayController;
    41 
    41 
    42 +(SDLUIKitDelegate *)sharedAppDelegate;
    42 +(SDLUIKitDelegate *)sharedAppDelegate;
    43 -(NSString *)dataFilePath:(NSString *)fileName;
    43 -(NSString *)dataFilePath:(NSString *)fileName;
    44 -(void) startSDLgame;
    44 -(void) startSDLgame;
    45 
    45