
* Attempt to fix API error 1100 * NSURLSession fake call to exec iOS network settings dialog * use http://captive.apple.com/generate_204 for requesting internet permission * moved MobileUtils to IosController * replaced callbacks with signal-slots in apiController
25 lines
722 B
Objective-C
25 lines
722 B
Objective-C
#import <NetworkExtension/NetworkExtension.h>
|
|
#import <NetworkExtension/NETunnelProviderSession.h>
|
|
#import <Foundation/Foundation.h>
|
|
#include <UIKit/UIKit.h>
|
|
#include <Security/Security.h>
|
|
|
|
class IosController;
|
|
|
|
@interface IosControllerWrapper : NSObject {
|
|
IosController *cppController;
|
|
}
|
|
|
|
- (instancetype)initWithCppController:(IosController *)controller;
|
|
- (void)vpnStatusDidChange:(NSNotification *)notification;
|
|
- (void)vpnConfigurationDidChange:(NSNotification *)notification;
|
|
|
|
@end
|
|
|
|
typedef void (^DocumentPickerClosedCallback)(NSString *path);
|
|
|
|
@interface DocumentPickerDelegate : NSObject <UIDocumentPickerDelegate>
|
|
|
|
@property (nonatomic, copy) DocumentPickerClosedCallback documentPickerClosedCallback;
|
|
|
|
@end
|