Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

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

- File List
- File Members

simple_statistics_dialog.h
1 /* simple_statistics_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 __SIMPLE_STATISTICS_DIALOG_H__
11 #define __SIMPLE_STATISTICS_DIALOG_H__
12
13 #include "tap_parameter_dialog.h"
14
15 struct _stat_data_t;
16
17 class SimpleStatisticsDialog : public TapParameterDialog
18 {
19 Q_OBJECT
20
21 public:
22 SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf, struct _stat_tap_table_ui *stu, const QString filter, int help_topic = 0);
23 static TapParameterDialog *createSimpleStatisticsDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf);
24
25 protected:
30 // gtk:service_response_table.h:init_srt_table
31 void addMissingRows(struct _stat_data_t *stat_data);
32
33 private:
34 struct _stat_tap_table_ui *stu_;
35
36 // Callbacks for register_tap_listener
37 static void tapReset(void *sd_ptr);
38 static void tapDraw(void *sd_ptr);
39
40 // How each item (SimpleStatisticsTreeWidgetItem) will be exported
41 virtual QList<QVariant> treeItemData(QTreeWidgetItem *) const;
42
43 ~SimpleStatisticsDialog();
44
45 private slots:
46 virtual void fillTree();
47
48 };
49
55 gboolean register_simple_stat_tables(const void *key, void *value, void*);
56
57 #endif // __SIMPLE_STATISTICS_DIALOG_H__
58
59 /*
60 * Editor modelines
61 *
62 * Local Variables:
63 * c-basic-offset: 4
64 * tab-width: 8
65 * indent-tabs-mode: nil
66 * End:
67 *
68 * ex: set shiftwidth=4 tabstop=8 expandtab:
69 * :indentSize=4:tabSize=8:noTabs=true:
70 */
SimpleStatisticsDialog::addMissingRows
void addMissingRows(struct _stat_data_t *stat_data)
Definition: simple_statistics_dialog.cpp:181
_stat_data_t
Definition: stat_tap_ui.h:147
_stat_tap_table_ui
Definition: stat_tap_ui.h:126
TapParameterDialog
Definition: tap_parameter_dialog.h:44
CaptureFile
Definition: capture_file.h:22
SimpleStatisticsDialog
Definition: simple_statistics_dialog.h:17