#ifndef MAINWIN_H #define MAINWIN_H #include "basewin.h" #include "table.h" #include "pcaprethread.h" class MainWin : public BaseWin { Q_OBJECT public: MainWin(); QWidget *win{0}; QByteArray net_name; pcap_t *pcapSend{0}; PcapReThread *reThd{0}; Table *table{0}; protected slots: void ProNetData(const uint8_t *data, int len); }; #endif // MAINWIN_H