aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDark1-dev <shansarkar272@gmail.com>2023-03-01 21:30:57 +0600
committerGitHub <noreply@github.com>2023-03-01 21:30:57 +0600
commit60a301a93b6057bb2c54ac04a7c38c38389037b3 (patch)
treeb09c5f8bc0045828c660654d8ed6744663856202 /src/main.cpp
parentc784240d1af68dbd8d0466822b34fd05d6ccdda1 (diff)
downloadMasterserver-Qt5-60a301a93b6057bb2c54ac04a7c38c38389037b3.tar.gz
Masterserver-Qt5-60a301a93b6057bb2c54ac04a7c38c38389037b3.zip
Add files via upload
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..10eddb7
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,12 @@
+#include <QCoreApplication>
+#include <Core/core.h>
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication QApplication(argc, argv);
+
+ // run the masterserver
+ Core MasterServerApplication( QApplication.applicationDirPath() );
+ MasterServerApplication.run();
+ return QApplication.exec();
+}