summaryrefslogtreecommitdiff
path: root/ui/qt/sctp_graph_arwnd_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-12 15:35:59 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-13 02:31:16 +0000
commit6e88978fd98cf0dd032245c1b68b5a12cd94e405 (patch)
treed4816d481f84aaf50f727395215c1ce11baa365f /ui/qt/sctp_graph_arwnd_dialog.h
parenta5652c7257835db3f6fce01926d53b236be53405 (diff)
downloadwireshark-6e88978fd98cf0dd032245c1b68b5a12cd94e405.tar.gz
Qt: More #include → forward declarations.
Change-Id: Ib6de71f801cd3053374b6c867370acd594dcd396 Reviewed-on: https://code.wireshark.org/review/7089 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/sctp_graph_arwnd_dialog.h')
-rw-r--r--ui/qt/sctp_graph_arwnd_dialog.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/ui/qt/sctp_graph_arwnd_dialog.h b/ui/qt/sctp_graph_arwnd_dialog.h
index 850af3d392..afc8503f29 100644
--- a/ui/qt/sctp_graph_arwnd_dialog.h
+++ b/ui/qt/sctp_graph_arwnd_dialog.h
@@ -23,35 +23,29 @@
#define SCTP_GRAPH_ARWND_DIALOG_H
#include "config.h"
-#include "qcustomplot.h"
#include <glib.h>
-#include <file.h>
-#include <math.h>
-#include <epan/dissectors/packet-sctp.h>
-#include "epan/packet.h"
-
-#include "ui/tap-sctp-analysis.h"
-
#include <QDialog>
-#include <QObject>
-#include <QMessageBox>
namespace Ui {
class SCTPGraphArwndDialog;
}
+class QCPAbstractPlottable;
+
+struct _capture_file;
+struct _sctp_assoc_info;
class SCTPGraphArwndDialog : public QDialog
{
Q_OBJECT
public:
- explicit SCTPGraphArwndDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, int dir = 0);
+ explicit SCTPGraphArwndDialog(QWidget *parent = 0, struct _sctp_assoc_info *assoc = NULL, struct _capture_file *cf = NULL, int dir = 0);
~SCTPGraphArwndDialog();
public slots:
- void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
+ void setCaptureFile(struct _capture_file *cf) { cap_file_ = cf; }
private slots:
void on_pushButton_4_clicked();
@@ -62,8 +56,8 @@ private slots:
private:
Ui::SCTPGraphArwndDialog *ui;
- sctp_assoc_info_t *selected_assoc;
- capture_file *cap_file_;
+ struct _sctp_assoc_info *selected_assoc;
+ struct _capture_file *cap_file_;
int frame_num;
int direction;
int startArwnd;