diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2016-02-11 23:55:16 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2016-02-11 23:55:16 +0100 |
| commit | 29aaea2d80a9eb1715b6cddfac2d2aacf76358bd (patch) | |
| tree | 012795b6bec16c72f38d33cff46324c9a0225868 /rockworkd/main.cpp | |
launchpad ~mzanetti/rockwork/trunk r87
Diffstat (limited to 'rockworkd/main.cpp')
| -rw-r--r-- | rockworkd/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rockworkd/main.cpp b/rockworkd/main.cpp new file mode 100644 index 0000000..7c58c12 --- /dev/null +++ b/rockworkd/main.cpp @@ -0,0 +1,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(); +} + |
