2013-02-18 00:04:44 +10:00
|
|
|
// ViewController.h boilerplate
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <GLKit/GLKit.h>
|
2014-01-27 18:32:19 +04:00
|
|
|
#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1
|
2014-01-27 19:24:22 +04:00
|
|
|
#import <GameController/GameController.h>
|
2014-01-27 18:32:19 +04:00
|
|
|
#endif
|
2013-05-30 20:58:41 -05:00
|
|
|
#import "iCade/iCadeReaderView.h"
|
2020-01-09 15:57:09 +02:00
|
|
|
#import "CameraHelper.h"
|
|
|
|
#import "LocationHelper.h"
|
2013-05-30 20:58:41 -05:00
|
|
|
|
2020-01-09 15:57:09 +02:00
|
|
|
@interface ViewController : GLKViewController <iCadeEventDelegate,
|
|
|
|
LocationHandlerDelegate, CameraFrameDelegate>
|
2013-02-18 00:04:44 +10:00
|
|
|
|
2020-04-25 10:07:35 +03:00
|
|
|
- (void)shareText:(NSString *)text;
|
2018-02-22 03:04:12 -08:00
|
|
|
- (void)shutdown;
|
|
|
|
|
2013-02-18 00:04:44 +10:00
|
|
|
@end
|
2018-02-22 03:04:12 -08:00
|
|
|
|
|
|
|
extern __unsafe_unretained ViewController* sharedViewController;
|
2020-01-25 10:06:00 +02:00
|
|
|
void setCameraSize(int width, int height);
|
2020-01-09 15:57:09 +02:00
|
|
|
void startVideo();
|
|
|
|
void stopVideo();
|
|
|
|
void startLocation();
|
|
|
|
void stopLocation();
|