summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorPaul Offord <paul.offord@advance7.com>2016-01-07 07:39:14 +0000
committerRoland Knall <rknall@gmail.com>2016-01-15 11:39:58 +0000
commitd1cb746822a31dc2d3273984587ce1ad2756ee7c (patch)
treece3f96e154ffcb43022c5c80509df834ebb19b01 /ui/qt/main_window.h
parentca512cf47c17a4b83accb3efbb443dfd5106bed0 (diff)
downloadwireshark-d1cb746822a31dc2d3273984587ce1ad2756ee7c.tar.gz
plugin_if: Add function to get capture file info
This is an enhancement to allow a plugin to obtain capture file and other status information via a simple plugin_if call Added GTK port to this revision Bug: 11968 Change-Id: Ibcf4e8b43c6f3b48e971fa4020a07cc273234fb8 Reviewed-on: https://code.wireshark.org/review/13103 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index e0cbdcc668..ad483b408c 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -93,6 +93,7 @@ public:
virtual QMenu *createPopupMenu();
void gotoFrame(int packet_num);
+ CaptureFile *captureFile() { return &capture_file_; }
protected:
bool eventFilter(QObject *obj, QEvent *event);