/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

#pragma once

#import "OpenVulkanoView.h"
#import <UIKit/UIKit.h>

#pragma mark -
#pragma mark OpenVulkanoViewController

@interface OpenVulkanoViewController : UIViewController

@property (nonatomic, strong) OpenVulkanoView* openVulkanoView;

-(id)init;

-(void*) makeGraphicsApp;

@end

@interface OpenVulkanoOrientationLockableViewController : OpenVulkanoViewController

@property (nonatomic, strong) UIView* rotationLockedView;

//@property CGFloat baseRotation;

-(id)init;

-(CGFloat)getOrientation;

-(void)setOrientation:(CGFloat)angle;

@end
