2022-08-25 18:43:03 +08:00
|
|
|
#ifndef MAINWIN_H
|
|
|
|
#define MAINWIN_H
|
|
|
|
|
|
|
|
#include "basewin.h"
|
2022-12-16 15:08:53 +08:00
|
|
|
#include "table.h"
|
2023-03-20 11:30:19 +08:00
|
|
|
#include "pcaprethread.h"
|
2022-08-25 18:43:03 +08:00
|
|
|
|
|
|
|
class MainWin : public BaseWin {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
MainWin();
|
|
|
|
QWidget *win{0};
|
2022-12-16 15:08:53 +08:00
|
|
|
QByteArray net_name;
|
|
|
|
pcap_t *pcapSend{0};
|
2023-03-20 11:30:19 +08:00
|
|
|
PcapReThread *reThd{0};
|
|
|
|
Table *table{0};
|
2022-12-16 15:08:53 +08:00
|
|
|
|
2023-03-20 11:30:19 +08:00
|
|
|
protected slots:
|
|
|
|
void ProNetData(const uint8_t *data, int len);
|
2022-08-25 18:43:03 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWIN_H
|