nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* sctp_all_assocs_dialog.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21  
22 #ifndef SCTP_ALL_ASSOCS_DIALOG_H
23 #define SCTP_ALL_ASSOCS_DIALOG_H
24  
25 #include <config.h>
26  
27 #include <glib.h>
28  
29 #include <file.h>
30  
31 #include <epan/dissectors/packet-sctp.h>
32  
33 #include "ui/tap-sctp-analysis.h"
34  
35 #include <QDialog>
36 #include <QObject>
37  
38 namespace Ui {
39 class SCTPAllAssocsDialog;
40 }
41  
42 class SCTPAllAssocsDialog : public QDialog
43 {
44 Q_OBJECT
45  
46 public:
47 explicit SCTPAllAssocsDialog(QWidget *parent = 0, capture_file *cf = NULL);
48 ~SCTPAllAssocsDialog();
49  
50 void fillTable();
51 sctp_assoc_info_t* getSelectedAssoc() { return selected_assoc; }
52 sctp_assoc_info_t* findSelectedAssoc();
53  
54 public slots:
55 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
56  
57 private slots:
58 void on_analyseButton_clicked();
59 void on_setFilterButton_clicked();
60 void getSelectedItem();
61  
62 private:
63 Ui::SCTPAllAssocsDialog *ui;
64 capture_file *cap_file_;
65 sctp_allassocs_info_t *sctp_assocs;
66 sctp_assoc_info_t *selected_assoc;
67  
68  
69 signals:
70 void filterPackets(QString new_filter, bool force);
71 };
72  
73 #endif // SCTP_ALL_ASSOCS_DIALOG_H
74  
75 /*
76 * Editor modelines
77 *
78 * Local Variables:
79 * c-basic-offset: 4
80 * tab-width: 8
81 * indent-tabs-mode: nil
82 * End:
83 *
84 * ex: set shiftwidth=4 tabstop=8 expandtab:
85 * :indentSize=4:tabSize=8:noTabs=true:
86 */