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_dialog.h | |
parent | a5652c7257835db3f6fce01926d53b236be53405 (diff) |
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_dialog.h')
-rw-r--r-- | ui/qt/sctp_graph_dialog.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/ui/qt/sctp_graph_dialog.h b/ui/qt/sctp_graph_dialog.h index 1959ab6054..fdb4202d92 100644 --- a/ui/qt/sctp_graph_dialog.h +++ b/ui/qt/sctp_graph_dialog.h @@ -23,26 +23,20 @@ #define SCTP_GRAPH_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> -#include <QDir> -#include <QFileDialog> namespace Ui { class SCTPGraphDialog; } +class QCPAbstractPlottable; +class QCustomPlot; + +struct _capture_file; +struct _sctp_assoc_info; + struct chunk_header { guint8 type; guint8 flags; @@ -94,12 +88,12 @@ class SCTPGraphDialog : public QDialog Q_OBJECT public: - explicit SCTPGraphDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, int dir = 0); + explicit SCTPGraphDialog(QWidget *parent = 0, struct _sctp_assoc_info *assoc = NULL, struct _capture_file *cf = NULL, int dir = 0); ~SCTPGraphDialog(); static void save_graph(QDialog *dlg, QCustomPlot *plot); public slots: - void setCaptureFile(capture_file *cf) { cap_file_ = cf; } + void setCaptureFile(struct _capture_file *cf) { cap_file_ = cf; } private slots: void on_pushButton_clicked(); @@ -116,8 +110,8 @@ private slots: private: Ui::SCTPGraphDialog *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> xt, yt, xs, ys, xg, yg, xd, yd, xn, yn; |