SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
iOS/GBViewController.h
1 #import <UIKit/UIKit.h>
2 #import <AVFoundation/AVFoundation.h>
3 #import <UserNotifications/UserNotifications.h>
4
5 typedef enum {
6 GBRunModeNormal,
7 GBRunModeTurbo,
8 GBRunModeRewind,
9 GBRunModePaused,
10 GBRunModeUnderclock,
11 } GBRunMode;
12
13 @interface GBViewController : UIViewController <UIApplicationDelegate,
14 AVCaptureVideoDataOutputSampleBufferDelegate,
15 UNUserNotificationCenterDelegate>
16 @property (nonatomic, strong) UIWindow *window;
17 - (void)reset;
18 - (void)openLibrary;
19 - (void)start;
20 - (void)stop;
21 - (void)changeModel;
22 - (void)openStates;
23 - (void)openSettings;
24 - (void)showAbout;
25 - (void)openConnectMenu;
26 - (void)openCheats;
27 - (void)emptyPrinterFeed;
28 - (void)saveStateToFile:(NSString *)file;
29 - (bool)loadStateFromFile:(NSString *)file;
30 - (bool)handleOpenURLs:(NSArray <NSURL *> *)urls
31 openInPlace:(bool)inPlace;
32 - (void)dismissViewController;
33 @property (nonatomic) GBRunMode runMode;
34 @end
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.