summaryrefslogtreecommitdiff
path: root/sensorlogd.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sensorlogd.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/sensorlogd.cpp b/sensorlogd.cpp
deleted file mode 100644
index 884b55c..0000000
--- a/sensorlogd.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <QCoreApplication>
-#include <QDBusConnection>
-#include <QDebug>
-#include "logger.h"
-
-int main(int argc, char **argv)
-{
- QCoreApplication qcoreapp(argc, argv);
- if (!QDBusConnection::systemBus().isConnected()) {
- fprintf(stderr, "Cannot connect to the D-Bus system bus.\n");
- return 3;
- }
- if (!QDBusConnection::sessionBus().isConnected()) {
- fprintf(stderr, "Cannot connect to the D-Bus session bus.\n");
- return 2;
- }
- Logger sensorsLogger;
- QCoreApplication::setOrganizationName("asteroid");
- QCoreApplication::setOrganizationDomain("asteroidos.org");
- QCoreApplication::setApplicationName("healthd");
- qDebug() << "healthd started";
- qcoreapp.exec();
- return 0;
-}