-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.cpp
32 lines (24 loc) · 969 Bytes
/
main.cpp
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
31
32
#include "widget.h"
#include <QApplication>
#include "ccissNetworkEnvironment.h"
#include "ccissServer.h"
#include "ccissClient.h"
#include "ccissWidget.h"
int main(int argc, char *argv[]){
QApplication a(argc, argv);
//! initialisation of the parameter concern about the network environment
// ccissNetworkEnvironment *networkEnvironment = new ccissNetworkEnvironment();
// networkEnvironment->init("self", 12345);
// networkEnvironment->init("piss", 10703, "127.0.0.1");
// //! create tcp server to wait for the connexion from igss_platform part
// ccissServer *server = new ccissServer(networkEnvironment);
// server->launchServer();
// //! create tcp client to connect igss_platform
// ccissClient *ccissToPiss = new ccissClient(networkEnvironment);
// ccissToPiss->connectera();
Widget mainWindow ;
mainWindow.show();
// ccissWidget ccissMainWindow;
// ccissMainWindow.show();
return a.exec();
}