-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
54 lines (40 loc) · 1.16 KB
/
Copy pathmain.cpp
File metadata and controls
54 lines (40 loc) · 1.16 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include <QApplication>
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <QMainWindow>
#include <QInputDialog>
#include <qobject.h>
#include <vector>
#include "mainwindow.h"
#include "team.h"
#include "player.h"
#include "robocop_funcs.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
//QString teamB("./equipa2.txt");
//QString teamA("./equipa1.txt");
//QString teamC("./equipa3.txt");
//QString capFile("./lab-03.csv");
QString iw_name("wlp7s0");
QString mon_name("wlp7s0mon");
stop_iw_mon(mon_name);
start_iw_mon(iw_name);
//get_team_by_file(teamA);
get_all_teams();
printAllPlayers();
printAllTeams();
qDebug("##############################################################\n");
//parseNetCapture(capFile);
qDebug("##############################################################\n");
printAllTeams();
printAllPlayers();
MainWindow w;
//set app name
QGuiApplication::setApplicationDisplayName(MainWindow::tr("RoboCop"));
w.show();
qDebug() << "end"<<endl;
return a.exec();
return 0;
}