Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

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

- File List
- File Members

stats_tree_dialog.h
1 /* stats_tree_dialog.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 STATS_TREE_DIALOG_H
11 #define STATS_TREE_DIALOG_H
12
13 #include "tap_parameter_dialog.h"
14
15 #include <config.h>
16
17 #include <glib.h>
18
19 #include "epan/stats_tree_priv.h"
20
21 struct _tree_cfg_pres {
22 class StatsTreeDialog* st_dlg;
23 };
24
25 class StatsTreeDialog : public TapParameterDialog
26 {
27 Q_OBJECT
28
29 public:
30 explicit StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr);
31 ~StatsTreeDialog();
32 static void setupNode(stat_node* node);
33
34 private:
35 struct _tree_cfg_pres cfg_pr_;
36 stats_tree *st_;
37 stats_tree_cfg *st_cfg_;
38
39 static void resetTap(void *st_ptr);
40 static void drawTreeItems(void *st_ptr);
41 virtual QByteArray getTreeAsString(st_format_type format);
42
43 private slots:
44 virtual void fillTree();
45 };
46
47 #endif // STATS_TREE_DIALOG_H
48
49 /*
50 * Editor modelines
51 *
52 * Local Variables:
53 * c-basic-offset: 4
54 * tab-width: 8
55 * indent-tabs-mode: nil
56 * End:
57 *
58 * ex: set shiftwidth=4 tabstop=8 expandtab:
59 * :indentSize=4:tabSize=8:noTabs=true:
60 */
_stats_tree_cfg
Definition: stats_tree_priv.h:125
st_format_type
enum _st_format_type st_format_type
TapParameterDialog
Definition: tap_parameter_dialog.h:44
_tree_cfg_pres
Definition: tap-stats_tree.c:34
_stat_node
Definition: stats_tree_priv.h:55
StatsTreeDialog
Definition: stats_tree_dialog.h:25
CaptureFile
Definition: capture_file.h:22
_stats_tree
Definition: stats_tree_priv.h:91