diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-06-23 17:12:42 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-11 20:59:50 +0200 |
commit | eb97dc510c92a2fc1a340cccf4103068699947c4 (patch) | |
tree | d9bc5ade18bb47d618ee4411183b99086e7a9f6f /gui/backend.go | |
parent | cf5ed56c943599c092a91933b45471c4c0e5d579 (diff) |
[refactor] use qt argument parsing
Diffstat (limited to 'gui/backend.go')
-rw-r--r-- | gui/backend.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go index 4a73cc2..faf682a 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -12,6 +12,16 @@ import ( "0xacab.org/leap/bitmask-vpn/pkg/backend" ) +//export GetVersion +func GetVersion() *C.char { + return (*C.char)(backend.GetVersion()) +} + +//export GetAppName +func GetAppName() *C.char { + return (*C.char)(backend.GetAppName()) +} + //export SwitchOn func SwitchOn() { backend.SwitchOn() |