OpenVPN Adapter now can be compiled for both macOS and iOS

This commit is contained in:
Sergey Abramchuk
2017-03-11 13:48:47 +03:00
parent fd528d6274
commit 146ea30114
30 changed files with 705 additions and 172 deletions
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
+2
View File
@@ -12,6 +12,8 @@
@class NEPacketTunnelNetworkSettings;
// TODO: Add documentation to properties and methods
@protocol OpenVPNAdapterPacketFlow <NSObject>
- (void)readPacketsWithCompletionHandler:(nonnull void (^)(NSArray<NSData *> * _Nonnull packets, NSArray<NSNumber *> * _Nonnull protocols))completionHandler;
+5 -2
View File
@@ -5,8 +5,11 @@
// Created by Sergey Abramchuk on 09.03.17.
//
//
#import <UIKit/UIKit.h>
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATO
@import UIKit;
#else
@import AppKit;
#endif
//! Project version number for OpenVPNAdapter.
FOUNDATION_EXPORT double OpenVPNAdapterVersionNumber;
Binary file not shown.