nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* export_dissection_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 EXPORT_DISSECTION_DIALOG_H |
||
23 | #define EXPORT_DISSECTION_DIALOG_H |
||
24 | |||
25 | #include <config.h> |
||
26 | |||
27 | #include <glib.h> |
||
28 | |||
29 | #include "file.h" |
||
30 | #include "epan/print.h" |
||
31 | |||
32 | #include "ui/file_dialog.h" |
||
33 | |||
34 | #ifndef Q_OS_WIN |
||
35 | #include "packet_range_group_box.h" |
||
36 | #include "packet_format_group_box.h" |
||
37 | #endif // Q_OS_WIN |
||
38 | |||
39 | #include <QFileDialog> |
||
40 | #include <QMap> |
||
41 | |||
42 | class ExportDissectionDialog : public QFileDialog |
||
43 | { |
||
44 | Q_OBJECT |
||
45 | |||
46 | public: |
||
47 | explicit ExportDissectionDialog(QWidget *parent, capture_file *cap_file, export_type_e export_type); |
||
48 | ~ExportDissectionDialog(); |
||
49 | |||
50 | public slots: |
||
51 | int exec(); |
||
52 | |||
53 | private slots: |
||
54 | #ifndef Q_OS_WIN |
||
55 | void exportTypeChanged(QString name_filter); |
||
56 | void checkValidity(); |
||
57 | void on_buttonBox_helpRequested(); |
||
58 | #endif // Q_OS_WIN |
||
59 | |||
60 | private: |
||
61 | export_type_e export_type_; |
||
62 | capture_file *cap_file_; |
||
63 | #ifndef Q_OS_WIN |
||
64 | print_args_t print_args_; |
||
65 | |||
66 | QMap<QString, export_type_e> export_type_map_; |
||
67 | PacketRangeGroupBox packet_range_group_box_; |
||
68 | |||
69 | PacketFormatGroupBox packet_format_group_box_; |
||
70 | |||
71 | QPushButton *save_bt_; |
||
72 | #endif // Q_OS_WIN |
||
73 | }; |
||
74 | |||
75 | #endif // EXPORT_DISSECTION_DIALOG_H |
||
76 | |||
77 | /* |
||
78 | * Editor modelines |
||
79 | * |
||
80 | * Local Variables: |
||
81 | * c-basic-offset: 4 |
||
82 | * tab-width: 8 |
||
83 | * indent-tabs-mode: nil |
||
84 | * End: |
||
85 | * |
||
86 | * ex: set shiftwidth=4 tabstop=8 expandtab: |
||
87 | * :indentSize=4:tabSize=8:noTabs=true: |
||
88 | */ |