summaryrefslogtreecommitdiff
path: root/ui/file_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-09-24 17:04:50 +0000
committerGerald Combs <gerald@wireshark.org>2012-09-24 17:04:50 +0000
commit25eab1c383e4cebb578894802acd2c3085018611 (patch)
treee54f68865be5d49e0924984c006137b232ebb1ff /ui/file_dialog.h
parentc3f2dbdb8ddf356619c8ed60f80eabf940594ef2 (diff)
downloadwireshark-25eab1c383e4cebb578894802acd2c3085018611.tar.gz
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/file_dialog.h')
-rw-r--r--ui/file_dialog.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/ui/file_dialog.h b/ui/file_dialog.h
new file mode 100644
index 0000000000..1858f43ccc
--- /dev/null
+++ b/ui/file_dialog.h
@@ -0,0 +1,43 @@
+/* file_dialog.h
+ * Common file dialog definitions
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 2006 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __FILE_DIALOG_H__
+#define __FILE_DIALOG_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef enum {
+ SAVE,
+ SAVE_WITHOUT_COMMENTS,
+ SAVE_IN_ANOTHER_FORMAT,
+ CANCELLED
+} check_savability_t;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __FILE_DIALOG_H__ */