diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-10-17 20:54:22 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-10-17 20:54:22 +0200 |
commit | e8781ec2d43ec3f7f905e20fc76b1910e83ee0c8 (patch) | |
tree | 34a842fb825ecc14454ff044fc6af92e29b4ae10 /sowatchd/service.cpp | |
parent | e42e7dca8df8d1e4966545894e2dde228f19b6f0 (diff) | |
download | sowatch-e8781ec2d43ec3f7f905e20fc76b1910e83ee0c8.tar.gz sowatch-e8781ec2d43ec3f7f905e20fc76b1910e83ee0c8.zip |
Major change: sowatchd is now a QtM service
Diffstat (limited to 'sowatchd/service.cpp')
-rw-r--r-- | sowatchd/service.cpp | 15 |
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); +} |