diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-09-24 17:04:50 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-09-24 17:04:50 +0000 |
commit | 25eab1c383e4cebb578894802acd2c3085018611 (patch) | |
tree | e54f68865be5d49e0924984c006137b232ebb1ff /ui/win32/file_dlg_win32.h | |
parent | c3f2dbdb8ddf356619c8ed60f80eabf940594ef2 (diff) |
Unify some of the GTK+ and Win32 "Save As" code and behavior. This will
likely break compilation on Windows. I'll take care of it shortly.
svn path=/trunk/; revision=45105
Diffstat (limited to 'ui/win32/file_dlg_win32.h')
-rw-r--r-- | ui/win32/file_dlg_win32.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ui/win32/file_dlg_win32.h b/ui/win32/file_dlg_win32.h index 4131b972c7..44e627dca0 100644 --- a/ui/win32/file_dlg_win32.h +++ b/ui/win32/file_dlg_win32.h @@ -44,6 +44,17 @@ typedef enum { */ gboolean win32_open_file (HWND h_wnd, GString *file_name, GString *display_filter); +/** Verify that our proposed capture file format supports comments. If it can't + * ask the user what to do and return his or her response. + * + * @param h_wnd HWND of the parent window. + * @param cf Capture file. + * @param file_format Proposed file format. + * + * @return + */ +check_savability_t win32_check_save_as_with_comments(HWND parent, capture_file *cf, int file_type); + /** Open the "Save As" dialog box. * * @param h_wnd HWND of the parent window. @@ -56,8 +67,9 @@ gboolean win32_open_file (HWND h_wnd, GString *file_name, GString *display_filte * @return TRUE if packets were discarded when saving, FALSE otherwise */ gboolean win32_save_as_file(HWND h_wnd, capture_file *cf, - gboolean must_support_comments, - gboolean dont_reopen); + GString *file_name, int *file_type, + gboolean *compressed, + gboolean must_support_comments); /** Open the "Export Specified Packets" dialog box. * |