mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Implement abstract tracker class
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// OpenVPNReachabilityTracker.h
|
||||
// OpenVPN Adapter
|
||||
//
|
||||
// Created by Sergey Abramchuk on 17.07.17.
|
||||
//
|
||||
//
|
||||
|
||||
#import <openvpn/apple/reachable.hpp>
|
||||
|
||||
using namespace openvpn;
|
||||
|
||||
class OpenVPNReachabilityTracker : public ReachabilityTracker {
|
||||
OpenVPNReachabilityTracker(const bool enable_internet, const bool enable_wifi, void* handler);
|
||||
|
||||
virtual void reachability_tracker_event(const ReachabilityBase& rb, SCNetworkReachabilityFlags flags) override;
|
||||
|
||||
private:
|
||||
void* handler;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user