aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/fileset_dlg.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-26 23:33:11 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-26 23:33:11 +0000
commit998da54456f675fb7fad7d7ecd52fab4a12d16d8 (patch)
treed499748e4d57194bcdd2cf42e6f9c435648b2c8f /ui/gtk/fileset_dlg.h
parentbf108e8d2355f74d6de00bc5f430867c01a75a47 (diff)
Add a cf_cb_file_opened callback and use it instead of calling
fileset_file_opened directly from file.c. This makes the code a bit more consistenent and makes it easier to port the File Set dialog to Qt. svn path=/trunk/; revision=45162
Diffstat (limited to 'ui/gtk/fileset_dlg.h')
-rw-r--r--ui/gtk/fileset_dlg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gtk/fileset_dlg.h b/ui/gtk/fileset_dlg.h
index 0da6a66ec9..3d86361eaf 100644
--- a/ui/gtk/fileset_dlg.h
+++ b/ui/gtk/fileset_dlg.h
@@ -30,6 +30,12 @@
* @ingroup dialog_group
*/
+/** Enable file set menu items
+ *
+ * @param cf Capture file struct
+ */
+extern void fileset_file_opened(const capture_file *cf);
+
/** Open the fileset dialog.
*
* @param w calling widget (unused)