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 CAPTURE_EVENT_H
11 #define CAPTURE_EVENT_H
16 typedef struct _capture_session capture_session
;
26 Update
= 0x0100 | Capture
,
27 Fixed
= 0x0200 | Capture
,
30 Reload
= 0x0100 | File
,
31 Rescan
= 0x0200 | File
,
33 Retap
= 0x0800 | File
,
51 CaptureEvent(Context ctx
, EventType evt
);
52 CaptureEvent(Context ctx
, EventType evt
, QString file
);
53 CaptureEvent(Context ctx
, EventType evt
, capture_session
* session
);
55 CaptureEvent(const CaptureEvent
&ce
);
57 Context
captureContext() const;
58 EventType
eventType() const;
59 QString
filePath() const;
60 capture_session
* capSession() const;
66 capture_session
* _session
;
69 #endif // CAPTURE_EVENT_H