Declare public methods of adapter and add adapter header to the bridge header

This commit is contained in:
Sergey Abramchuk
2017-02-11 16:45:02 +03:00
parent 9cc997b206
commit a63f7a0117
2 changed files with 9 additions and 0 deletions

View File

@@ -2,3 +2,4 @@
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "OpenVPNAdapter+Provider.h"

View File

@@ -34,4 +34,12 @@ NS_SWIFT_NAME(handle(error:));
@property (weak, nonatomic, null_unspecified) id<OpenVPNAdapterDelegate> delegate;
- (BOOL)configureWithUsername:(nonnull NSString *)username
password:(nonnull NSString *)password
error:(out NSError * __nullable * __nullable)error
NS_SWIFT_NAME(configure(username:password:));
- (void)connect;
- (void)disconnect;
@end