Declare tun factory and return its instance in new_tun_factory method

This commit is contained in:
Sergey Abramchuk
2017-04-15 15:40:32 +03:00
parent ef06fec9f7
commit 44f826cb12
3 changed files with 38 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
//
// TUNFactory.m
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 15.04.17.
//
//
#import "TUNFactory.h"
// !!! tuncli.hpp may be used as example of implementation
TunClient::Ptr TUNFactory::new_tun_client_obj(openvpn_io::io_context& io_context,
TunClientParent& parent,
TransportClient* transcli)
{
return nullptr;
}