diff options
Diffstat (limited to 'sowatchd/main.cpp')
-rw-r--r-- | sowatchd/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sowatchd/main.cpp b/sowatchd/main.cpp index 29eee28..2816830 100644 --- a/sowatchd/main.cpp +++ b/sowatchd/main.cpp @@ -4,9 +4,7 @@ #include <sowatch.h> #include "global.h" -#include "allscanner.h" #include "daemonadaptor.h" -#include "scanneradaptor.h" namespace sowatch { @@ -26,17 +24,11 @@ int main(int argc, char *argv[]) sowatch::daemon = new Daemon(&a); new DaemonAdaptor(sowatch::daemon); - AllScanner *scanner = new AllScanner(&a); - new ScannerAdaptor(scanner); QDBusConnection connection = QDBusConnection::sessionBus(); if (!connection.registerService("com.javispedro.sowatchd")) { qCritical("Could not register D-Bus service"); } - - if (!connection.registerObject("/com/javispedro/sowatch/allscanner", scanner)) { - qCritical("Could not register scanner object"); - } if (!connection.registerObject("/com/javispedro/sowatch/daemon", sowatch::daemon)) { qCritical("Could not register daemon object"); } |