cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h
changeset 3305 91074496d5c9
parent 3116 97dc65a47b15
child 3316 52f0482b043f
equal deleted inserted replaced
3304:8690a3aa93b5 3305:91074496d5c9
    42 +(SDLUIKitDelegate *)sharedAppDelegate;
    42 +(SDLUIKitDelegate *)sharedAppDelegate;
    43 -(NSString *)dataFilePath:(NSString *)fileName;
    43 -(NSString *)dataFilePath:(NSString *)fileName;
    44 -(void) startSDLgame;
    44 -(void) startSDLgame;
    45 
    45 
    46 @end
    46 @end
       
    47 
       
    48 #ifndef __IPHONE_3_2	// if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined
       
    49 
       
    50 typedef enum {
       
    51     UIUserInterfaceIdiomPhone,           // iPhone and iPod touch style UI
       
    52     UIUserInterfaceIdiomPad,             // iPad style UI
       
    53 } UIUserInterfaceIdiom;
       
    54 
       
    55 #define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
       
    56 
       
    57 #endif // ifndef __IPHONE_3_2