Mercurial > geeqie.yaz
annotate src/collect-io.h @ 1326:2b78c7198fbf
Silent a minor warning.
author | zas_ |
---|---|
date | Wed, 25 Feb 2009 23:04:08 +0000 |
parents | 8b89e3ff286b |
children | 3a9fb1b52559 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 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 COLLECT_IO_H | |
15 #define COLLECT_IO_H | |
16 | |
358 | 17 typedef enum { |
18 COLLECTION_LOAD_NONE = 0, | |
19 COLLECTION_LOAD_APPEND = 1 << 0, | |
20 COLLECTION_LOAD_FLUSH = 1 << 1, | |
359
96fb24f948b7
Merge collection_load_only_geometry() into collection_load().
zas_
parents:
358
diff
changeset
|
21 COLLECTION_LOAD_GEOMETRY= 1 << 2, |
358 | 22 } CollectionLoadFlags; |
9 | 23 |
358 | 24 gint collection_load(CollectionData *cd, const gchar *path, CollectionLoadFlags flags); |
9 | 25 |
358 | 26 gint collection_load_begin(CollectionData *cd, const gchar *path, CollectionLoadFlags flags); |
9 | 27 void collection_load_stop(CollectionData *cd); |
28 | |
29 void collection_load_thumb_idle(CollectionData *cd); | |
30 | |
31 gint collection_save(CollectionData *cd, const gchar *path); | |
32 | |
33 gint collection_load_only_geometry(CollectionData *cd, const gchar *path); | |
34 | |
35 | |
36 /* these are used to update collections contained in user's collection | |
37 * folder when moving or renaming files. | |
38 * also handles: | |
39 * deletes file when newpath == NULL | |
40 * adds file when oldpath == NULL | |
41 */ | |
138 | 42 void collect_manager_moved(FileData *fd); |
9 | 43 |
44 /* add or removing from a specific collection */ | |
138 | 45 void collect_manager_add(FileData *fd, const gchar *collection); |
46 void collect_manager_remove(FileData *fd, const gchar *collection); | |
9 | 47 |
48 /* commit pending operations to disk */ | |
49 void collect_manager_flush(void); | |
50 | |
799 | 51 void collect_manager_notify_cb(FileData *fd, NotifyType type, gpointer data); |
9 | 52 |
53 | |
54 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
799
diff
changeset
|
55 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |