summaryrefslogtreecommitdiff
path: root/sowatchd/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchd/service.cpp')
-rw-r--r--sowatchd/service.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/sowatchd/service.cpp b/sowatchd/service.cpp
new file mode 100644
index 0000000..0b3777c
--- /dev/null
+++ b/sowatchd/service.cpp
@@ -0,0 +1,15 @@
+#include "global.h"
+#include "service.h"
+
+using namespace sowatch;
+
+Service::Service(QObject *parent) :
+ QObject(parent)
+{
+
+}
+
+void Service::terminate()
+{
+ QCoreApplication::exit(0);
+}