Mercurial > geeqie
diff src/collect.h @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
author | nadvornik |
---|---|
date | Tue, 11 Sep 2007 20:06:29 +0000 |
parents | d907d608745f |
children | f6e307c7bad6 |
line wrap: on
line diff
--- a/src/collect.h Thu Aug 23 20:45:59 2007 +0000 +++ b/src/collect.h Tue Sep 11 20:06:29 2007 +0000 @@ -14,7 +14,7 @@ #define COLLECT_H -CollectInfo *collection_info_new(const gchar *path, struct stat *st, GdkPixbuf *pixbuf); +CollectInfo *collection_info_new(FileData *fd, struct stat *st, GdkPixbuf *pixbuf); void collection_info_free_thumb(CollectInfo *ci); void collection_info_free(CollectInfo *ci); @@ -29,7 +29,7 @@ GList *collection_list_insert(GList *list, CollectInfo *ci, CollectInfo *insert_ci, SortType method); GList *collection_list_remove(GList *list, CollectInfo *ci); CollectInfo *collection_list_find(GList *list, const gchar *path); -GList *collection_list_to_path_list(GList *list); +GList *collection_list_to_filelist(GList *list); CollectionData *collection_new(const gchar *path); void collection_free(CollectionData *cd); @@ -61,17 +61,17 @@ void collection_set_update_info_func(CollectionData *cd, void (*func)(CollectionData *, CollectInfo *, gpointer), gpointer data); -gint collection_add(CollectionData *cd, const gchar *path, gint sorted); -gint collection_add_check(CollectionData *cd, const gchar *path, gint sorted, gint must_exist); -gint collection_insert(CollectionData *cd, const gchar *path, CollectInfo *insert_ci, gint sorted); -gint collection_remove(CollectionData *cd, const gchar *path); +gint collection_add(CollectionData *cd, FileData *fd, gint sorted); +gint collection_add_check(CollectionData *cd, FileData *fd, gint sorted, gint must_exist); +gint collection_insert(CollectionData *cd, FileData *fd, CollectInfo *insert_ci, gint sorted); +gint collection_remove(CollectionData *cd, FileData *fd); void collection_remove_by_info_list(CollectionData *cd, GList *list); -gint collection_rename(CollectionData *cd, const gchar *source, const gchar *dest); +gint collection_rename(CollectionData *cd, FileData *fd); void collection_update_geometry(CollectionData *cd); -void collection_maint_removed(const gchar *path); -void collection_maint_renamed(const gchar *source, const gchar *dest); +void collection_maint_removed(FileData *fd); +void collection_maint_renamed(FileData *fd); CollectWindow *collection_window_new(const gchar *path); void collection_window_close_by_collection(CollectionData *cd);