From ec42177b24b47ba68b3ae49634c942c76a9f92d4 Mon Sep 17 00:00:00 2001 From: Arseniy-Movshev Date: Sun, 19 Mar 2023 11:14:04 +0000 Subject: Restructure to split to daemon and qml accessor - add separate subdirs for daemon and qml - add some generic qml boilerplate - add a really lazy 'last value' loader implementation - license the project as gplv3 (add copyright notices and license text) --- healthd.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 healthd.cpp (limited to 'healthd.cpp') 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 -#include -#include -#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; -} -- cgit v1.2.3-70-g09d2