summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..d69a266
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,13 @@
+#include <QCoreApplication>
+#include "crsm.hpp"
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication a(argc, argv);
+
+ CRSM *CrServerManager=new CRSM(&a);
+ if(!CrServerManager->isOk())
+ return 1;
+ CrServerManager->start();
+ return a.exec();
+}