// // GameViewController.h // PanoPainter // // Created by Omar Mohamed Ali Mudhir on 07/05/17. // Copyright © 2017 Omar Mohamed Ali Mudhir. All rights reserved. // #import #import #import "AppDelegate.h" @interface GameView : GLKView @end @interface GameViewController : UIViewController< UIKeyInput, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIDocumentInteractionControllerDelegate > { @public GameView* glview; @public EAGLContext* context; } - (void)display_file:(std::string)filename; - (void)reset_touch; - (void)async_lock; - (void)async_unlock; - (void)async_swap; - (void)pick_photo:(std::function) callback; - (void)registerForKeyboardNotifications; - (void)unregisterForKeyboardNotifications; - (void)crash; - (void)share_file:(NSString*)file_path; - (std::string)clipboard_get_string; - (bool)clipboard_set_string:(const std::string&)s; - (void)init_dirs; @end