summaryrefslogtreecommitdiff
path: root/healthd.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--healthd.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/healthd.cpp b/healthd.cpp
deleted file mode 100644
index 884b55c..0000000
--- a/healthd.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;
-}