summaryrefslogtreecommitdiff
path: root/sowatchd/main.cpp
blob: 0d7abb996a44ffe9cf0cc359ab4d28c4ce90e6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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();
}