minivmac4ios/Mini vMac/AppDelegate.h

35 lines
1.0 KiB
C
Raw Normal View History

2016-04-27 22:52:28 +02:00
//
// AppDelegate.h
// Mini vMac
//
// Created by Jesús A. Álvarez on 27/04/2016.
2018-04-28 12:12:43 +02:00
// Copyright © 2016-2018 namedfork. All rights reserved.
2016-04-27 22:52:28 +02:00
//
#import <UIKit/UIKit.h>
2016-05-28 13:01:13 +02:00
#import "EmulatorProtocol.h"
#import "BTCMouse.h"
2016-05-11 23:04:49 +02:00
extern NSString *DocumentsChangedNotification;
2016-04-27 22:52:28 +02:00
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, readonly) NSString *documentsPath;
@property (nonatomic, readonly) NSString *userKeyboardLayoutsPath;
2016-05-11 23:04:49 +02: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;
2016-04-27 22:52:28 +02:00
2016-05-01 19:05:36 +02:00
+ (instancetype)sharedInstance;
2016-05-28 13:01:13 +02:00
+ (id<Emulator>)sharedEmulator;
- (void)showAlertWithTitle:(NSString *)title message:(NSString *)message;
2016-05-11 23:04:49 +02:00
- (IBAction)showInsertDisk:(id)sender;
- (IBAction)showSettings:(id)sender;
2020-06-23 18:32:07 +02:00
- (IBAction)showGestureHelp:(id)sender;
2016-04-27 22:52:28 +02:00
@end