cocoaTouch/otherSrc/CommodityFunctions.h
changeset 3374 0d522416d97f
parent 3373 c1ff724a5c34
child 3377 a3f0849f26bc
equal deleted inserted replaced
3373:c1ff724a5c34 3374:0d522416d97f
    32 void createTeamNamed (NSString *nameWithoutExt);
    32 void createTeamNamed (NSString *nameWithoutExt);
    33 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation);
    33 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation);
    34 NSInteger randomPort ();
    34 NSInteger randomPort ();
    35 void popError (const char *title, const char *message);
    35 void popError (const char *title, const char *message);
    36 
    36 
       
    37 
       
    38 #ifndef __IPHONE_3_2	// if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined
       
    39 typedef enum {
       
    40     UIUserInterfaceIdiomPhone,           // iPhone and iPod touch style UI
       
    41     UIUserInterfaceIdiomPad,             // iPad style UI
       
    42 } UIUserInterfaceIdiom;
       
    43 #define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
       
    44 #endif // ifndef __IPHONE_3_2
       
    45