diff --git a/OpenVPN Adapter/OpenVPNReachability+Internal.h b/OpenVPN Adapter/OpenVPNReachability+Internal.h new file mode 100644 index 0000000..c711428 --- /dev/null +++ b/OpenVPN Adapter/OpenVPNReachability+Internal.h @@ -0,0 +1,18 @@ +// +// OpenVPNReachability+Internal.h +// OpenVPN Adapter +// +// Created by Sergey Abramchuk on 17.07.17. +// +// + +#import "OpenVPNReachabilityTracker.h" +#import "OpenVPNReachability.h" + +@interface OpenVPNReachability (Internal) + +@property OpenVPNReachabilityTracker *reachabilityTracker; + +- (void)updateReachabilityStatus:(OpenVPNReachabilityStatus)status; + +@end diff --git a/OpenVPN Adapter/OpenVPNReachability.h b/OpenVPN Adapter/OpenVPNReachability.h new file mode 100644 index 0000000..9402107 --- /dev/null +++ b/OpenVPN Adapter/OpenVPNReachability.h @@ -0,0 +1,21 @@ +// +// OpenVPNReachability.h +// OpenVPN Adapter +// +// Created by Sergey Abramchuk on 17.07.17. +// +// + +#import +#import "OpenVPNReachabilityStatus.h" + +@interface OpenVPNReachability : NSObject + +@property (readonly, nonatomic) OpenVPNReachabilityStatus reachabilityStatus; + +- (nonnull instancetype)initWatchingWWAN:(BOOL)watchWWAN watchingWiFi:(BOOL)watchWiFi; + +- (void)startTracking; +- (void)stopTracking; + +@end diff --git a/OpenVPN Adapter/OpenVPNReachability.mm b/OpenVPN Adapter/OpenVPNReachability.mm new file mode 100644 index 0000000..750da00 --- /dev/null +++ b/OpenVPN Adapter/OpenVPNReachability.mm @@ -0,0 +1,21 @@ +// +// OpenVPNReachability.m +// OpenVPN Adapter +// +// Created by Sergey Abramchuk on 17.07.17. +// +// + +#import "OpenVPNReachability.h" +#import "OpenVPNReachability+Internal.h" + +@implementation OpenVPNReachability (Internal) + + + +@end + +@implementation OpenVPNReachability + + +@end