SameBoy/Cocoa/AppDelegate.h

26 lines
1.3 KiB
Objective-C
Raw Normal View History

2016-03-30 20:07:55 +00:00
#import <Cocoa/Cocoa.h>
2021-04-25 19:28:24 +00:00
#import <WebKit/WebKit.h>
2016-03-30 20:07:55 +00:00
2021-04-25 19:28:24 +00:00
@interface AppDelegate : NSObject <NSApplicationDelegate, NSUserNotificationCenterDelegate, NSMenuDelegate, WebUIDelegate, WebPolicyDelegate, WebFrameLoadDelegate>
2016-03-30 20:07:55 +00:00
2021-01-13 18:59:28 +00:00
@property (nonatomic, strong) IBOutlet NSWindow *preferencesWindow;
@property (nonatomic, strong) IBOutlet NSView *graphicsTab;
@property (nonatomic, strong) IBOutlet NSView *emulationTab;
@property (nonatomic, strong) IBOutlet NSView *audioTab;
@property (nonatomic, strong) IBOutlet NSView *controlsTab;
2021-04-25 19:28:24 +00:00
@property (nonatomic, strong) IBOutlet NSView *updatesTab;
2016-04-13 19:43:16 +00:00
- (IBAction)showPreferences: (id) sender;
- (IBAction)toggleDeveloperMode:(id)sender;
2018-12-01 14:08:59 +00:00
- (IBAction)switchPreferencesTab:(id)sender;
2021-01-13 18:59:28 +00:00
@property (nonatomic, weak) IBOutlet NSMenuItem *linkCableMenuItem;
2021-04-25 19:28:24 +00:00
@property (nonatomic, strong) IBOutlet NSWindow *updateWindow;
@property (nonatomic, strong) IBOutlet WebView *updateChanges;
@property (nonatomic, strong) IBOutlet NSProgressIndicator *updatesSpinner;
@property (strong) IBOutlet NSButton *updatesButton;
@property (strong) IBOutlet NSTextField *updateProgressLabel;
@property (strong) IBOutlet NSButton *updateProgressButton;
@property (strong) IBOutlet NSWindow *updateProgressWindow;
@property (strong) IBOutlet NSProgressIndicator *updateProgressSpinner;
2016-03-30 20:07:55 +00:00
@end