X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/46f1e0060bfc180c4fcc7f79701acf97dee1bf73..23d6216c871ca648a093bd992f25fd9ce18f971d:/src/vikfileentry.h?ds=sidebyside diff --git a/src/vikfileentry.h b/src/vikfileentry.h index c58fb8c3..d5585f2e 100644 --- a/src/vikfileentry.h +++ b/src/vikfileentry.h @@ -44,7 +44,14 @@ struct _VikFileEntryClass GType vik_file_entry_get_type (); -GtkWidget *vik_file_entry_new (GtkFileChooserAction action); +typedef enum { + VF_FILTER_NONE = 0, + VF_FILTER_IMAGE, // JPG+PNG + VF_FILTER_MBTILES, + VF_FILTER_LAST +} vf_filter_type; + +GtkWidget *vik_file_entry_new (GtkFileChooserAction action, vf_filter_type filter_type); const gchar *vik_file_entry_get_filename ( VikFileEntry *vfe ); void vik_file_entry_set_filename ( VikFileEntry *vfe, const gchar *filename );