Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
export_object_action.h
Go to the documentation of this file.
1
10#ifndef EXPORTOBJECTACTION_H
11#define EXPORTOBJECTACTION_H
12
13#include "config.h"
14
15#include <epan/packet_info.h>
16#include <epan/export_object.h>
17
18#include <QAction>
19
20#include <ui/qt/capture_file.h>
21
22// Actions for "Export Objects" menu items.
23
27class ExportObjectAction : public QAction
28{
29 Q_OBJECT
30public:
36 ExportObjectAction(QObject *parent, register_eo_t *eo = NULL);
37
42 register_eo_t* exportObject() {return eo_;}
43
44public slots:
50
51private:
53 register_eo_t *eo_;
54};
55
56#endif // EXPORTOBJECTACTION_H
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
An action to trigger the export of a specific object type from a capture file.
Definition export_object_action.h:28
void captureFileEvent(CaptureEvent e)
Handles capture file events to update the action's state.
Definition export_object_action.cpp:31
register_eo_t * exportObject()
Retrieves the associated export object type.
Definition export_object_action.h:42
Definition export_object.c:19