forked from OnionBrowser/OnionBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppDelegate.h
46 lines (32 loc) · 1.31 KB
/
AppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Endless
* Copyright (c) 2014-2017 joshua stein <[email protected]>
*
* See LICENSE file for redistribution terms.
*/
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "CookieJar.h"
#import "HSTSCache.h"
#import "WebViewController.h"
#import "JAHPAuthenticatingHTTPProtocol.h"
#import "CertificateAuthentication.h"
#define STATE_RESTORE_TRY_KEY @"state_restore_lock"
@interface AppDelegate : UIResponder <UIApplicationDelegate, JAHPAuthenticatingHTTPProtocolDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (strong, atomic) WebViewController *webViewController;
@property (strong, atomic) CookieJar *cookieJar;
@property (strong, atomic) HSTSCache *hstsCache;
@property (strong, atomic) NSString *defaultUserAgent;
@property (strong, atomic) NSURL *urlToOpenAtLaunch;
@property NSInteger socksProxyPort;
@property NSInteger httpProxyPort;
@property NSCache *sslCertCache;
@property CertificateAuthentication *certificateAuthentication;
+ (AppDelegate *)sharedAppDelegate;
- (BOOL)areTesting;
- (void)adjustMuteSwitchBehavior;
@end