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
10 #ifndef ENDPOINT_DIALOG_H
11 #define ENDPOINT_DIALOG_H
15 #include "traffic_table_dialog.h"
17 #include <ui/qt/models/atap_data_model.h>
19 class EndpointDialog
: public TrafficTableDialog
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
);
33 void captureFileClosing();
36 QCheckBox
*aggregated_ck_
;
38 QPushButton
* map_bt_
;
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