Mercurial > geeqie
annotate src/filefilter.h @ 801:9b676bb76a2e
various refresh and notification fixes
author | nadvornik |
---|---|
date | Sat, 07 Jun 2008 22:44:17 +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 |