summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r--gui/handlers.cpp30
1 files changed, 30 insertions, 0 deletions
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 <QTimer>
+#include <QDebug>
+
+#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();
+}