summaryrefslogtreecommitdiff
path: root/rockworkd/main.cpp
blob: 7c58c123159812d98ed17547f1f199d99a7908b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <QCoreApplication>

#include "core.h"

#ifdef ENABLE_TESTING
#include <QGuiApplication>
#endif

int main(int argc, char *argv[])
{

#ifdef ENABLE_TESTING
    QGuiApplication a(argc, argv);
#else
    QCoreApplication a(argc, argv);
#endif

    Core::instance()->init();

    return a.exec();
}