From c42d5abff1f5f51facc169dd593725d819c4c868 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 18 Sep 2011 04:26:20 +0200 Subject: separation into lib and plugins complete --- sowatchd/main.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sowatchd/main.cpp (limited to 'sowatchd/main.cpp') diff --git a/sowatchd/main.cpp b/sowatchd/main.cpp new file mode 100644 index 0000000..0d7abb9 --- /dev/null +++ b/sowatchd/main.cpp @@ -0,0 +1,20 @@ +#include + +#include +#include "daemon.h" + +using namespace sowatch; + +static Daemon* d; + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + QApplication::setOrganizationDomain("com.javispedro.sowatch"); + QApplication::setOrganizationName("sowatch"); + QApplication::setApplicationName("sowatchd"); + + d = new Daemon(); + + return a.exec(); +} -- cgit v1.2.3