annotate src/collect-io.h @ 287:fd5c62403498

int -> gint
author zas_
date Tue, 08 Apr 2008 23:41:01 +0000
parents f6e307c7bad6
children 384eed18df04
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 138
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef COLLECT_IO_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define COLLECT_IO_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17 gint collection_load(CollectionData *cd, const gchar *path, gint append);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 gint collection_load_begin(CollectionData *cd, const gchar *path, gint append);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 void collection_load_stop(CollectionData *cd);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 void collection_load_thumb_idle(CollectionData *cd);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 gint collection_save(CollectionData *cd, const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 gint collection_load_only_geometry(CollectionData *cd, const gchar *path);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 /* these are used to update collections contained in user's collection
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 * folder when moving or renaming files.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 * also handles:
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 * deletes file when newpath == NULL
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 * adds file when oldpath == NULL
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 */
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
35 void collect_manager_moved(FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 /* add or removing from a specific collection */
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
38 void collect_manager_add(FileData *fd, const gchar *collection);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
39 void collect_manager_remove(FileData *fd, const gchar *collection);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 /* commit pending operations to disk */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 void collect_manager_flush(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47