diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-09-26 23:33:11 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-09-26 23:33:11 +0000 |
commit | 998da54456f675fb7fad7d7ecd52fab4a12d16d8 (patch) | |
tree | d499748e4d57194bcdd2cf42e6f9c435648b2c8f /ui/gtk/fileset_dlg.h | |
parent | bf108e8d2355f74d6de00bc5f430867c01a75a47 (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.h | 6 |
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) |