summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-23 17:12:42 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-08-11 20:59:50 +0200
commiteb97dc510c92a2fc1a340cccf4103068699947c4 (patch)
treed9bc5ade18bb47d618ee4411183b99086e7a9f6f /gui/handlers.cpp
parentcf5ed56c943599c092a91933b45471c4c0e5d579 (diff)
[refactor] use qt argument parsing
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r--gui/handlers.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp
index 9ce268d..de54161 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -10,6 +10,16 @@ Backend::Backend(QObject *parent) : QObject(parent)
{
}
+QString Backend::getAppName()
+{
+ return QString(GetAppName());
+}
+
+QString Backend::getVersion()
+{
+ return QString(GetVersion());
+}
+
void Backend::switchOn()
{
SwitchOn();