Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
export_object_action.h
1 /* export_object_action.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 EXPORTOBJECTACTION_H
11 #define EXPORTOBJECTACTION_H
12 
13 #include "config.h"
14 
15 #include <glib.h>
16 #include <epan/packet_info.h>
17 #include <epan/export_object.h>
18 
19 #include <QAction>
20 
21 #include <ui/qt/capture_file.h>
22 
23 // Actions for "Export Objects" menu items.
24 
25 class ExportObjectAction : public QAction
26 {
27  Q_OBJECT
28 public:
29  ExportObjectAction(QObject *parent, register_eo_t *eo = NULL);
30 
31  register_eo_t* exportObject() {return eo_;}
32 
33 public slots:
34  void captureFileEvent(CaptureEvent e);
35 
36 private:
37  register_eo_t *eo_;
38 };
39 
40 #endif // EXPORTOBJECTACTION_H
41 
42 /*
43  * Editor modelines
44  *
45  * Local Variables:
46  * c-basic-offset: 4
47  * tab-width: 8
48  * indent-tabs-mode: nil
49  * End:
50  *
51  * ex: set shiftwidth=4 tabstop=8 expandtab:
52  * :indentSize=4:tabSize=8:noTabs=true:
53  */
Definition: export_object.c:19
Definition: capture_event.h:19
Definition: export_object_action.h:25