3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
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.
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.
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.
22 #ifndef STATS_TREE_DIALOG_H
23 #define STATS_TREE_DIALOG_H
25 #include "tap_parameter_dialog.h"
31 #include "epan/stats_tree_priv.h"
33 struct _tree_cfg_pres {
34 class StatsTreeDialog* st_dlg;
37 class StatsTreeDialog : public TapParameterDialog
42 explicit StatsTreeDialog(QWidget &parent, CaptureFile &cf, const char *cfg_abbr);
44 static void setupNode(stat_node* node);
47 struct _tree_cfg_pres cfg_pr_;
49 stats_tree_cfg *st_cfg_;
51 static void resetTap(void *st_ptr);
52 static void drawTreeItems(void *st_ptr);
53 virtual QByteArray getTreeAsString(st_format_type format);
56 virtual void fillTree();
59 #endif // STATS_TREE_DIALOG_H
67 * indent-tabs-mode: nil
70 * ex: set shiftwidth=4 tabstop=8 expandtab:
71 * :indentSize=4:tabSize=8:noTabs=true: