7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
17 gint collection_load(CollectionData *cd, const gchar *path, gint append);
19 gint collection_load_begin(CollectionData *cd, const gchar *path, gint append);
20 void collection_load_stop(CollectionData *cd);
22 void collection_load_thumb_idle(CollectionData *cd);
24 gint collection_save(CollectionData *cd, const gchar *path);
26 gint collection_load_only_geometry(CollectionData *cd, const gchar *path);
29 /* these are used to update collections contained in user's collection
30 * folder when moving or renaming files.
32 * deletes file when newpath == NULL
33 * adds file when oldpath == NULL
35 void collect_manager_moved(const gchar *oldpath, const gchar *newpath);
37 /* add or removing from a specific collection */
38 void collect_manager_add(const gchar *path, const gchar *collection);
39 void collect_manager_remove(const gchar *path, const gchar *collection);
41 /* commit pending operations to disk */
42 void collect_manager_flush(void);