diff options
Diffstat (limited to 'ui/qt/capture_file.h')
-rw-r--r-- | ui/qt/capture_file.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/qt/capture_file.h b/ui/qt/capture_file.h index af390d4a83..033fa06efa 100644 --- a/ui/qt/capture_file.h +++ b/ui/qt/capture_file.h @@ -31,6 +31,8 @@ typedef struct _capture_file capture_file; typedef struct _capture_session capture_session; +struct _packet_info; + class CaptureFile : public QObject { Q_OBJECT @@ -68,6 +70,12 @@ public: */ const QString fileName(); + /** Return the current packet information. + * + * @return A pointer to the current packet_info struct or NULL. + */ + struct _packet_info *packetInfo(); + /** Reload the capture file */ void reload(); |