Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

compiled_filter_output.h
1 /* compiled_filter_output.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef COMPILEDFILTEROUTPUT_H
11 #define COMPILEDFILTEROUTPUT_H
12
13 #include "geometry_state_dialog.h"
14
15 #include <config.h>
16 #include <QList>
17 #include <QHash>
18 #include <QListWidgetItem>
19
20 #include <glib.h>
21
22 namespace Ui {
23 class CompiledFilterOutput;
24 }
25
26 class CompiledFilterOutput : public GeometryStateDialog
27 {
28 Q_OBJECT
29
30 private:
31 QStringList intList_;
32 QString &compile_filter_;
33 Ui::CompiledFilterOutput *ui;
34 GMutex *pcap_compile_mtx;
35 QHash<QString, QString> compile_results;
36 QListWidget *interface_list_;
37 QPushButton *copy_bt_;
38 #ifdef HAVE_LIBPCAP
39 void compileFilter();
40 #endif
41
42 public:
43 explicit CompiledFilterOutput(QWidget *parent = 0, QStringList &intList = *new QStringList(), QString &filter = *new QString());
44
45 ~CompiledFilterOutput();
46
47 private slots:
48 void on_interfaceList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
49 void copyFilterText();
50 };
51
52 #endif // COMPILEDFILTEROUTPUT_H
53
54 //
55 // Editor modelines - http://www.wireshark.org/tools/modelines.html
56 //
57 // Local variables:
58 // c-basic-offset: 4
59 // tab-width: 8
60 // indent-tabs-mode: nil
61 // End:
62 //
63 // vi: set shiftwidth=4 tabstop=8 expandtab:
64 // :indentSize=4:tabSize=8:noTabs=true:
65 //
Ui::CompiledFilterOutput
Definition: ui_compiled_filter_output.h:84
GeometryStateDialog
Definition: geometry_state_dialog.h:15
Ui
Definition: ui_about_dialog.h:291
CompiledFilterOutput
Definition: compiled_filter_output.h:26