Declare class contains client configuration

This commit is contained in:
Sergey Abramchuk 2017-04-21 18:41:08 +03:00
parent 8cba80999b
commit a043f5eb84
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,19 @@
//
// OpenVPNConfiguration+Internal.h
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 21.04.17.
//
//
#import <client/ovpncli.hpp>
#import "OpenVPNConfiguration.h"
using namespace openvpn;
@interface OpenVPNConfiguration (Internal)
@property (readonly) ClientAPI::Config config;
@end

View File

@ -0,0 +1,13 @@
//
// OpenVPNConfiguration.h
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 21.04.17.
//
//
#import <Foundation/Foundation.h>
@interface OpenVPNConfiguration : NSObject
@end

View File

@ -0,0 +1,29 @@
//
// OpenVPNConfiguration.m
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 21.04.17.
//
//
#import "OpenVPNConfiguration.h"
#import "OpenVPNConfiguration+Internal.h"
@interface OpenVPNConfiguration () {
ClientAPI::Config _config;
}
@end
@implementation OpenVPNConfiguration (Internal)
- (ClientAPI::Config)config {
return _config;
}
@end
@implementation OpenVPNConfiguration
@end