From 9b88f3ce47d090df167263ce2b4b6b430694da72 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 4 Jun 2020 11:39:41 +0200 Subject: [feat] add qt gui Signed-off-by: kali kaneko (leap communications) --- gui/handlers.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gui/handlers.cpp (limited to 'gui/handlers.cpp') diff --git a/gui/handlers.cpp b/gui/handlers.cpp new file mode 100644 index 0000000..79fbb58 --- /dev/null +++ b/gui/handlers.cpp @@ -0,0 +1,30 @@ +#include +#include + +#include "handlers.h" +#include "lib/libgoshim.h" + +Backend::Backend(QObject *parent) : QObject(parent) +{ +} + +void Backend::switchOn() +{ + SwitchOn(); +} + +void Backend::switchOff() +{ + SwitchOff(); +} + +void Backend::unblock() +{ + Unblock(); +} + +void Backend::quit() +{ + Quit(); + emit this->quitDone(); +} -- cgit v1.2.3