Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / ui / qt / endpoint_dialog.h
blob460a6078cb02053937a4b21da4d86faac6036227
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef ENDPOINT_DIALOG_H
11 #define ENDPOINT_DIALOG_H
13 #include <QFile>
15 #include "traffic_table_dialog.h"
17 #include <ui/qt/models/atap_data_model.h>
19 class EndpointDialog : public TrafficTableDialog
21 Q_OBJECT
22 public:
23 /** Create a new endpoint window.
25 * @param parent Parent widget.
26 * @param cf Capture file. No statistics will be calculated if this is NULL.
28 explicit EndpointDialog(QWidget &parent, CaptureFile &cf);
30 signals:
32 protected:
33 void captureFileClosing();
35 private:
36 QCheckBox *aggregated_ck_;
37 #ifdef HAVE_MAXMINDDB
38 QPushButton * map_bt_;
39 #endif
41 private slots:
42 #ifdef HAVE_MAXMINDDB
43 void openMap();
44 void saveMap();
45 #endif
46 void tabChanged(int idx);
47 void on_buttonBox_helpRequested();
48 void aggregationToggled(bool checked);
51 void init_endpoint_table(struct register_ct* ct, const char *filter);
53 #endif // ENDPOINT_DIALOG_H