1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Xni/Framework/GameViewController.h

32 lines
858 B
C
Raw Normal View History

//
// 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"
@class GameView;
@interface GameViewController : UIViewController {
GameWindow *gameWindow;
DisplayOrientation supportedOrientations;
}
- initWithGameWindow: (GameWindow*)theGameWindow;
@property (nonatomic) DisplayOrientation supportedOrientations;
@property (nonatomic, readonly) GameView *gameView;
+ (DisplayOrientation) getDisplayOrientationForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
+ (UIInterfaceOrientation) getUIInterfaceOrientationFromString:(NSString*)interfaceOrientation;
+ (DisplayOrientation) getSupportedOrientationsFromPlist;
+ (BOOL) getIsFullscreenFromPlist;
@end