-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.cpp
More file actions
30 lines (24 loc) · 739 Bytes
/
Main.cpp
File metadata and controls
30 lines (24 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Main.cpp
*
* Created on: Nov. 04 2018
* Author: Thomas Wiemann
*
* Copyright (c) 2018 Thomas Wiemann.
* Restricted usage. Licensed for participants of the course "The C++ Programming Language" only.
* No unauthorized distribution.
*/
#include <QSettings>
#include "view/MainWindow.hpp"
#include "global_socket.h"
#include "settings/init_file.h"
asteroids::Client client_global;
int main(int argc, char** argv)
{
QApplication a(argc, argv);
client_global.connect("127.0.0.1", 38292);
//client_global.connect(setting.value("Netzwerk/IP").toString().toStdString(), setting.value("Netzwerk/Port").toInt());
asteroids::MainWindow mainWindow;
mainWindow.showFullScreen();
return a.exec();
}