//
//  GameViewController.h
//  PanoPainter
//
//  Created by Omar Mohamed Ali Mudhir on 07/05/17.
//  Copyright © 2017 Omar Mohamed Ali Mudhir. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
#import "AppDelegate.h"

@interface GameView : GLKView
@end

@interface GameViewController : UIViewController<
    UIKeyInput,
    UIImagePickerControllerDelegate,
    UINavigationControllerDelegate,
    UIDocumentInteractionControllerDelegate
    >
{
@public GameView* glview;
}
- (void)display_file:(std::string)filename;
- (void)reset_touch;
- (void)async_lock;
- (void)async_unlock;
- (void)async_swap;
- (void)pick_photo:(std::function<void(std::string)>) callback;
- (void)registerForKeyboardNotifications;
- (void)unregisterForKeyboardNotifications;
- (void)crash;
- (void)share_file:(NSString*)file_path;
@end
