mirror of https://github.com/LIJI32/SameBoy.git
28 lines
797 B
Objective-C
28 lines
797 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import <UserNotifications/UserNotifications.h>
|
|
|
|
typedef enum {
|
|
GBRunModeNormal,
|
|
GBRunModeTurbo,
|
|
GBRunModeRewind,
|
|
GBRunModePaused,
|
|
} GBRunMode;
|
|
|
|
@interface GBViewController : UIViewController <UIApplicationDelegate,
|
|
AVCaptureVideoDataOutputSampleBufferDelegate,
|
|
UNUserNotificationCenterDelegate>
|
|
@property (nonatomic, strong) UIWindow *window;
|
|
- (void)reset;
|
|
- (void)openLibrary;
|
|
- (void)start;
|
|
- (void)stop;
|
|
- (void)changeModel;
|
|
- (void)openStates;
|
|
- (void)openSettings;
|
|
- (void)showAbout;
|
|
- (void)saveStateToFile:(NSString *)file;
|
|
- (void)loadStateFromFile:(NSString *)file;
|
|
@property (nonatomic) GBRunMode runMode;
|
|
@end
|