diff options
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mainwindow.h b/mainwindow.h index f5e1c39..5670898 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -21,8 +21,16 @@ public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); pcpp::RawPacket* currentSelectedPacket(); + bool addTableRow(const pcpp::Packet& packet); + bool setTableRow(size_t index, const pcpp::Packet& packet); + private: struct { + QMenu menu; + QAction randomize; + } tableContextMenu; + + struct { QMenu contextMenu; QAction prependBytes; QAction appendBytes; @@ -33,8 +41,8 @@ private: } myHexEdit; time_t firstPacketTs; - PcapPlusPlus *ppp; Ui::MainWindow *ui; + PcapPlusPlus *ppp; signals: void processPcap(); |