diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-18 04:26:20 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-18 04:26:20 +0200 |
commit | c42d5abff1f5f51facc169dd593725d819c4c868 (patch) | |
tree | 9aa8bdef88bf89561c7726948541a1ba3906b81e /sowatchd/main.cpp | |
parent | f225345d4de3b198a557fe3566f9630163e76d51 (diff) | |
download | sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.tar.gz sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.zip |
separation into lib and plugins complete
Diffstat (limited to 'sowatchd/main.cpp')
-rw-r--r-- | sowatchd/main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
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 <QtGui/QApplication> + +#include <sowatch.h> +#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(); +} |