Mercurial > geeqie.yaz
annotate src/filefilter.h @ 804:e702eaa6d1df
vficon_sync speed-up
author | nadvornik |
---|---|
date | Sun, 08 Jun 2008 20:24:46 +0000 |
parents | a7289f9e8d29 |
children | 1646720364cf |
rev | line source |
---|---|
586 | 1 /* |
2 * Geeqie | |
3 * (C) 2004 John Ellis | |
4 * Copyright (C) 2008 The Geeqie Team | |
5 * | |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef FILEFILTER_H | |
15 #define FILEFILTER_H | |
16 | |
17 | |
18 typedef struct _FilterEntry FilterEntry; | |
19 struct _FilterEntry { | |
20 gchar *key; | |
21 gchar *description; | |
22 gchar *extensions; | |
23 FileFormatClass file_class; | |
736 | 24 gboolean enabled; |
586 | 25 }; |
26 | |
27 /* you can change, but not add or remove entries from the returned list */ | |
28 GList *filter_get_list(void); | |
29 void filter_remove_entry(FilterEntry *fe); | |
30 | |
31 void filter_add(const gchar *key, const gchar *description, const gchar *extensions, FileFormatClass file_class, gint enabled); | |
32 void filter_add_unique(const gchar *description, const gchar *extensions, FileFormatClass file_class, gint enabled); | |
33 void filter_add_defaults(void); | |
34 void filter_reset(void); | |
35 void filter_rebuild(void); | |
36 GList *filter_to_list(const gchar *extensions); | |
37 | |
38 gint filter_name_exists(const gchar *name); | |
39 gint filter_file_class(const gchar *name, FileFormatClass file_class); | |
40 | |
41 void filter_write_list(SecureSaveInfo *ssi); | |
42 void filter_parse(const gchar *text); | |
43 | |
44 void sidecar_ext_parse(const gchar *text, gint quoted); | |
45 void sidecar_ext_write(SecureSaveInfo *ssi); | |
609
b690cecbf5b8
Use function(void) instead of function() for declaring functions which
zas_
parents:
586
diff
changeset
|
46 gchar *sidecar_ext_to_string(void); |
b690cecbf5b8
Use function(void) instead of function() for declaring functions which
zas_
parents:
586
diff
changeset
|
47 void sidecar_ext_add_defaults(void); |
586 | 48 GList *sidecar_ext_get_list(void); |
49 | |
50 gint ishidden(const gchar *name); | |
51 | |
52 #endif |