1 // ViewController.h boilerplate 2 3 #import <UIKit/UIKit.h> 4 #import <GLKit/GLKit.h> 5 #if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1 6 #import <GameController/GameController.h> 7 #endif 8 #import "iCade/iCadeReaderView.h" 9 #import "CameraHelper.h" 10 #import "LocationHelper.h" 11 12 @interface ViewController : GLKViewController <iCadeEventDelegate, 13 LocationHandlerDelegate, CameraFrameDelegate> 14 15 - (void)shareText:(NSString *)text; 16 - (void)shutdown; 17 18 @end 19 20 extern __unsafe_unretained ViewController* sharedViewController; 21 void setCameraSize(int width, int height); 22 void startVideo(); 23 void stopVideo(); 24 void startLocation(); 25 void stopLocation(); 26