Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
resolved_addresses_dialog.h
1 /* resolved_addresses_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 RESOLVED_ADDRESSES_DIALOG_H
11 #define RESOLVED_ADDRESSES_DIALOG_H
12 
13 #include "geometry_state_dialog.h"
14 
15 class CaptureFile;
16 class QTextBlock;
17 
18 namespace Ui {
20 }
21 
23 {
24  Q_OBJECT
25 
26 public:
27  explicit ResolvedAddressesDialog(QWidget *parent, CaptureFile *capture_file);
29 
30 protected slots:
31  void changeEvent(QEvent* event);
32 
33 private slots:
34  void on_actionAddressesHosts_triggered();
35  void on_actionComment_triggered();
36  void on_actionIPv4HashTable_triggered();
37  void on_actionIPv6HashTable_triggered();
38  void on_actionPortNames_triggered();
39  void on_actionEthernetAddresses_triggered();
40  void on_actionEthernetManufacturers_triggered();
41  void on_actionEthernetWKA_triggered();
42 
43  void on_actionShowAll_triggered();
44  void on_actionHideAll_triggered();
45 
46 private:
48  QString file_name_;
49  QString comment_;
50  QStringList host_addresses_;
51  QStringList v4_hash_addrs_;
52  QStringList v6_hash_addrs_;
53  QStringList service_ports_;
54  QStringList ethernet_addresses_;
55  QStringList ethernet_manufacturers_;
56  QStringList ethernet_well_known_;
57 
58  void fillShowMenu();
59  void fillBlocks();
60 };
61 
62 #endif // RESOLVED_ADDRESSES_DIALOG_H
63 
64 /*
65  * Editor modelines
66  *
67  * Local Variables:
68  * c-basic-offset: 4
69  * tab-width: 8
70  * indent-tabs-mode: nil
71  * End:
72  *
73  * ex: set shiftwidth=4 tabstop=8 expandtab:
74  * :indentSize=4:tabSize=8:noTabs=true:
75  */
Definition: geometry_state_dialog.h:15
Definition: ui_about_dialog.h:291
Definition: ui_resolved_addresses_dialog.h:150
Definition: resolved_addresses_dialog.h:22
Definition: cfile.h:58
Definition: capture_file.h:22