aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/sctp_chunk_statistics_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/sctp_chunk_statistics_dialog.h')
-rw-r--r--ui/qt/sctp_chunk_statistics_dialog.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/sctp_chunk_statistics_dialog.h b/ui/qt/sctp_chunk_statistics_dialog.h
index 3fdb2aae1f..09e254b6fd 100644
--- a/ui/qt/sctp_chunk_statistics_dialog.h
+++ b/ui/qt/sctp_chunk_statistics_dialog.h
@@ -24,8 +24,6 @@
#include <wsutil/filesystem.h>
#include "wireshark_application.h"
-#include "ui/tap-sctp-analysis.h"
-
#include <QTableWidgetItem>
#include <QDialog>
#include <QMenu>
@@ -35,12 +33,14 @@ namespace Ui {
class SCTPChunkStatisticsDialog;
}
+struct _sctp_assoc_info;
+
class SCTPChunkStatisticsDialog : public QDialog
{
Q_OBJECT
public:
- explicit SCTPChunkStatisticsDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL);
+ explicit SCTPChunkStatisticsDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL, capture_file *cf = NULL);
~SCTPChunkStatisticsDialog();
public slots:
@@ -62,7 +62,7 @@ signals:
private:
Ui::SCTPChunkStatisticsDialog *ui;
- sctp_assoc_info_t *selected_assoc;
+ guint16 selected_assoc_id;
capture_file *cap_file_;
QMenu ctx_menu_;
QPoint selected_point;
@@ -77,7 +77,7 @@ private:
QMap<int, struct chunkTypes> chunks, tempChunks;
void initializeChunkMap();
- void fillTable(bool all = false);
+ void fillTable(bool all = false, const _sctp_assoc_info *selected_assoc = NULL);
};
#endif // SCTP_CHUNK_STATISTICS_DIALOG_H