mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Return core copyright
This commit is contained in:
@@ -128,6 +128,11 @@ NSString * const OpenVPNAdapterErrorEventKey = @"me.ss-abramchuk.openvpn-adapter
|
||||
|
||||
#pragma mark Properties
|
||||
|
||||
+ (NSString *)copyright {
|
||||
std::string copyright = OpenVPNClient::copyright();
|
||||
return [NSString stringWithUTF8String:copyright.c_str()];
|
||||
}
|
||||
|
||||
+ (NSString *)platform {
|
||||
std::string platform = OpenVPNClient::platform();
|
||||
return [NSString stringWithUTF8String:platform.c_str()];
|
||||
|
||||
Reference in New Issue
Block a user