Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

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

- File List
- File Members

bluetooth_att_server_attributes_dialog.h
1 /* bluetooth_att_server_attributes_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 BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
11 #define BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
12
13 #include <config.h>
14
15 #include <glib.h>
16
17 #include "wireshark_dialog.h"
18 #include "cfile.h"
19
20 #include "epan/tap.h"
21
22 #include <QMenu>
23
24 class QAbstractButton;
25 class QPushButton;
26 class QTreeWidgetItem;
27
28 typedef struct _tapinfo_t {
29 tap_reset_cb tap_reset;
30 tap_packet_cb tap_packet;
31 void *ui;
32 } tapinfo_t;
33
34 namespace Ui {
35 class BluetoothAttServerAttributesDialog;
36 }
37
38 class QTreeWidgetItem;
39 class BluetoothAttServerAttributesDialog : public WiresharkDialog
40 {
41 Q_OBJECT
42
43 public:
44 explicit BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf);
45 ~BluetoothAttServerAttributesDialog();
46
47 public slots:
48
49 signals:
50 void updateFilter(QString filter, bool force = false);
51 void captureFileChanged(capture_file *cf);
52 void goToPacket(int packet_num);
53
54 protected:
55 void keyPressEvent(QKeyEvent *event);
56
57 protected slots:
58 void changeEvent(QEvent* event);
59
60 private:
61 Ui::BluetoothAttServerAttributesDialog *ui;
62
63 tapinfo_t tapinfo_;
64 QMenu context_menu_;
65
66 static void tapReset(void *tapinfo_ptr);
67 static gboolean tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data);
68
69 private slots:
70 void captureFileClosing();
71 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
72 void on_buttonBox_clicked(QAbstractButton *button);
73 void on_actionMark_Unmark_Cell_triggered();
74 void on_actionMark_Unmark_Row_triggered();
75 void on_actionCopy_Cell_triggered();
76 void on_actionCopy_Rows_triggered();
77 void on_actionCopy_All_triggered();
78 void on_actionSave_as_image_triggered();
79 void tableContextMenu(const QPoint &pos);
80 void interfaceCurrentIndexChanged(int index);
81 void deviceCurrentIndexChanged(int index);
82 void removeDuplicatesStateChanged(int state);
83 };
84
85 #endif // BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
86
87 /*
88 * Editor modelines
89 *
90 * Local Variables:
91 * c-basic-offset: 4
92 * tab-width: 8
93 * indent-tabs-mode: nil
94 * End:
95 *
96 * ex: set shiftwidth=4 tabstop=8 expandtab:
97 * :indentSize=4:tabSize=8:noTabs=true:
98 */
_packet_info
Definition: packet_info.h:44
Ui
Definition: ui_about_dialog.h:291
Ui::BluetoothAttServerAttributesDialog
Definition: ui_bluetooth_att_server_attributes_dialog.h:171
BluetoothAttServerAttributesDialog
Definition: bluetooth_att_server_attributes_dialog.h:39
_tapinfo_t
Definition: bluetooth_att_server_attributes_dialog.h:28
epan_dissect
Definition: epan_dissect.h:28
WiresharkDialog
Definition: wireshark_dialog.h:32
_capture_file
Definition: cfile.h:58
CaptureFile
Definition: capture_file.h:22