From e8781ec2d43ec3f7f905e20fc76b1910e83ee0c8 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 17 Oct 2011 20:54:22 +0200 Subject: Major change: sowatchd is now a QtM service --- sowatchd/service.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sowatchd/service.cpp (limited to 'sowatchd/service.cpp') 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); +} -- cgit v1.2.3