minivmac4ios/Mini vMac/AppDelegate.h

39 lines
1.3 KiB
C
Raw Permalink Normal View History

2016-04-27 20:52:28 +00:00
//
// AppDelegate.h
// Mini vMac
//
// Created by Jesús A. Álvarez on 27/04/2016.
2018-04-28 10:12:43 +00:00
// Copyright © 2016-2018 namedfork. All rights reserved.
2016-04-27 20:52:28 +00:00
//
#import <UIKit/UIKit.h>
2016-05-28 11:01:13 +00:00
#import "EmulatorProtocol.h"
#import "BTCMouse.h"
2016-05-11 21:04:49 +00:00
extern NSString *DocumentsChangedNotification;
2016-04-27 20:52:28 +00:00
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, readonly) NSString *documentsPath;
@property (nonatomic, readonly) NSString *userKeyboardLayoutsPath;
2016-05-11 21:04:49 +00:00
@property (nonatomic, readonly) NSArray<NSString*> *diskImageExtensions;
@property (nonatomic, readonly) NSArray<NSBundle*> *emulatorBundles;
@property (nonatomic, readonly) NSString *emulatorBundlesPath;
@property (readonly, nonatomic, getter = isSandboxed) BOOL sandboxed;
@property (readonly, nonatomic) id<Emulator> sharedEmulator;
2024-02-10 13:09:02 +00:00
@property (readonly, nonatomic) NSArray<NSString*> *keyboardLayoutPaths;
2016-04-27 20:52:28 +00:00
2024-02-10 12:36:20 +00:00
@property (class, readonly, strong) AppDelegate *sharedInstance NS_SWIFT_NAME(shared);
@property (class, readonly, strong) id<Emulator> sharedEmulator NS_SWIFT_NAME(emulator);
- (void)loadAndStartEmulator;
2016-05-28 11:01:13 +00:00
- (void)showAlertWithTitle:(NSString *)title message:(NSString *)message;
2016-05-11 21:04:49 +00:00
- (IBAction)showInsertDisk:(id)sender;
- (IBAction)showSettings:(id)sender;
2020-06-23 16:32:07 +00:00
- (IBAction)showGestureHelp:(id)sender;
- (UIScene*)sceneWithName:(NSString*)name;
2016-04-27 20:52:28 +00:00
@end