mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
30 lines
789 B
Objective-C
30 lines
789 B
Objective-C
//
|
|
// GameViewController.h
|
|
// XNI
|
|
//
|
|
// Created by Matej Jan on 22.7.10.
|
|
// Copyright 2010 Retronator, Razum. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <GameKit/GameKit.h>
|
|
|
|
#import "Retronator.Xni.Framework.classes.h"
|
|
|
|
@interface GameViewController : UIViewController {
|
|
GameWindow *gameWindow;
|
|
DisplayOrientation supportedOrientations;
|
|
}
|
|
|
|
- initWithGameWindow: (GameWindow*)theGameWindow;
|
|
|
|
@property (nonatomic) DisplayOrientation supportedOrientations;
|
|
|
|
+ (DisplayOrientation) getDisplayOrientationForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
|
|
+ (UIInterfaceOrientation) getUIInterfaceOrientationFromString:(NSString*)interfaceOrientation;
|
|
|
|
+ (DisplayOrientation) getSupportedOrientationsFromPlist;
|
|
+ (BOOL) getIsFullscreenFromPlist;
|
|
|
|
@end
|