Return core copyright

This commit is contained in:
Sergey Abramchuk
2017-04-30 23:56:03 +03:00
parent c05b7215eb
commit 1cf30b1175
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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()];