summaryrefslogtreecommitdiff
path: root/gui/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui/backend.go')
-rw-r--r--gui/backend.go10
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()