mirror of
https://github.com/ish-app/ish.git
synced 2026-05-28 21:10:35 +00:00
30 lines
516 B
Objective-C
30 lines
516 B
Objective-C
//
|
|
// AppDelegate.h
|
|
// iSH
|
|
//
|
|
// Created by Theodore Dubois on 10/17/17.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
|
|
|
@property (strong, nonatomic) UIWindow *window;
|
|
- (void)exitApp;
|
|
|
|
#if !ISH_LINUX
|
|
+ (int)bootError;
|
|
#else
|
|
+ (NSString *)panicMessage;
|
|
#endif
|
|
|
|
+ (void)maybePresentStartupMessageOnViewController:(UIViewController *)vc;
|
|
|
|
@end
|
|
|
|
#if !ISH_LINUX
|
|
extern NSString *const ProcessExitedNotification;
|
|
#else
|
|
extern NSString *const KernelPanicNotification;
|
|
#endif
|