-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.h
62 lines (52 loc) · 1.05 KB
/
project.h
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
55
56
57
58
59
60
61
62
#ifndef PROJECT_H
#define PROJECT_H
#include "config.h"
#include "ipaddress.h"
#include "ui_config.h"
#include <QMainWindow>
#include <QDateTime>
#include <QMessageBox>
#include <QHostAddress>
#include <QDialog>
#include <string>
#include "getgw.h"
#include <QSettings>
#include <QString>
#include <stdio.h>
#include <string>
#include <iostream>
#include <string>
#ifdef __linux__
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <pwd.h>
#elif _WIN32
#include <winsock.h>
#include <iphlpapi.h>
#else
#endif
#include <cstring>
#include <QApplication>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "config.h"
#include<QMessageBox>
#include <string>
#include "getgw.h"
#include <QSettings>
#include <QTcpSocket>
#ifdef __linux__
#include <unistd.h>
#elif _WIN32
#include <io.h>
#else
#endif
#include <sys/types.h>
//#include <pwd.h>
#include "socket.h"
extern string logfilename;
extern bool wantlog;
extern FILE *logfile;
using namespace std;
#endif // PROJECT_H