]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/filechooser.h
allow different file type selections for open/import/save
[xonotic/netradiant.git] / libs / gtkutil / filechooser.h
index d23beb5da320da8d165e1f9ab197eaf680efe1e6..3789321e4b13b9a8be1b3f6d2b115c30f6249f2b 100644 (file)
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 /// GTK+ file-chooser dialogs.
 
 typedef struct _GtkWidget GtkWidget;
 /// GTK+ file-chooser dialogs.
 
 typedef struct _GtkWidget GtkWidget;
-const char* file_dialog(GtkWidget *parent, bool open, const char* title, const char* path = 0, const char* pattern = 0);
+const char* file_dialog(GtkWidget *parent, bool open, const char* title, const char* path = 0, const char* pattern = 0, bool want_load = false, bool want_import = false, bool want_save = false);
 
 
 /// \brief Prompts the user to browse for a directory.
 
 
 /// \brief Prompts the user to browse for a directory.