diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-12 15:35:59 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-13 02:31:16 +0000 |
commit | 6e88978fd98cf0dd032245c1b68b5a12cd94e405 (patch) | |
tree | d4816d481f84aaf50f727395215c1ce11baa365f /ui/qt/sctp_graph_byte_dialog.h | |
parent | a5652c7257835db3f6fce01926d53b236be53405 (diff) | |
download | wireshark-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_byte_dialog.h')
-rw-r--r-- | ui/qt/sctp_graph_byte_dialog.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/ui/qt/sctp_graph_byte_dialog.h b/ui/qt/sctp_graph_byte_dialog.h index b19e186f7f..99ac4c8160 100644 --- a/ui/qt/sctp_graph_byte_dialog.h +++ b/ui/qt/sctp_graph_byte_dialog.h @@ -23,35 +23,29 @@ #define SCTP_GRAPH_BYTE_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 SCTPGraphByteDialog; } +class QCPAbstractPlottable; + +struct _capture_file; +struct _sctp_assoc_info; class SCTPGraphByteDialog : public QDialog { Q_OBJECT public: - explicit SCTPGraphByteDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, int dir = 0); + explicit SCTPGraphByteDialog(QWidget *parent = 0, struct _sctp_assoc_info *assoc = NULL, struct _capture_file *cf = NULL, int dir = 0); ~SCTPGraphByteDialog(); 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::SCTPGraphByteDialog *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; QVector<double> xb, yb; |