Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
137:be3328a58875 | 138:71e1ebee420e |
---|---|
12 | 12 |
13 #ifndef COLLECT_H | 13 #ifndef COLLECT_H |
14 #define COLLECT_H | 14 #define COLLECT_H |
15 | 15 |
16 | 16 |
17 CollectInfo *collection_info_new(const gchar *path, struct stat *st, GdkPixbuf *pixbuf); | 17 CollectInfo *collection_info_new(FileData *fd, struct stat *st, GdkPixbuf *pixbuf); |
18 | 18 |
19 void collection_info_free_thumb(CollectInfo *ci); | 19 void collection_info_free_thumb(CollectInfo *ci); |
20 void collection_info_free(CollectInfo *ci); | 20 void collection_info_free(CollectInfo *ci); |
21 | 21 |
22 void collection_info_set_thumb(CollectInfo *ci, GdkPixbuf *pixbuf); | 22 void collection_info_set_thumb(CollectInfo *ci, GdkPixbuf *pixbuf); |
27 GList *collection_list_sort(GList *list, SortType method); | 27 GList *collection_list_sort(GList *list, SortType method); |
28 GList *collection_list_add(GList *list, CollectInfo *ci, SortType method); | 28 GList *collection_list_add(GList *list, CollectInfo *ci, SortType method); |
29 GList *collection_list_insert(GList *list, CollectInfo *ci, CollectInfo *insert_ci, SortType method); | 29 GList *collection_list_insert(GList *list, CollectInfo *ci, CollectInfo *insert_ci, SortType method); |
30 GList *collection_list_remove(GList *list, CollectInfo *ci); | 30 GList *collection_list_remove(GList *list, CollectInfo *ci); |
31 CollectInfo *collection_list_find(GList *list, const gchar *path); | 31 CollectInfo *collection_list_find(GList *list, const gchar *path); |
32 GList *collection_list_to_path_list(GList *list); | 32 GList *collection_list_to_filelist(GList *list); |
33 | 33 |
34 CollectionData *collection_new(const gchar *path); | 34 CollectionData *collection_new(const gchar *path); |
35 void collection_free(CollectionData *cd); | 35 void collection_free(CollectionData *cd); |
36 | 36 |
37 void collection_ref(CollectionData *cd); | 37 void collection_ref(CollectionData *cd); |
59 | 59 |
60 void collection_set_sort_method(CollectionData *cd, SortType method); | 60 void collection_set_sort_method(CollectionData *cd, SortType method); |
61 void collection_set_update_info_func(CollectionData *cd, | 61 void collection_set_update_info_func(CollectionData *cd, |
62 void (*func)(CollectionData *, CollectInfo *, gpointer), gpointer data); | 62 void (*func)(CollectionData *, CollectInfo *, gpointer), gpointer data); |
63 | 63 |
64 gint collection_add(CollectionData *cd, const gchar *path, gint sorted); | 64 gint collection_add(CollectionData *cd, FileData *fd, gint sorted); |
65 gint collection_add_check(CollectionData *cd, const gchar *path, gint sorted, gint must_exist); | 65 gint collection_add_check(CollectionData *cd, FileData *fd, gint sorted, gint must_exist); |
66 gint collection_insert(CollectionData *cd, const gchar *path, CollectInfo *insert_ci, gint sorted); | 66 gint collection_insert(CollectionData *cd, FileData *fd, CollectInfo *insert_ci, gint sorted); |
67 gint collection_remove(CollectionData *cd, const gchar *path); | 67 gint collection_remove(CollectionData *cd, FileData *fd); |
68 void collection_remove_by_info_list(CollectionData *cd, GList *list); | 68 void collection_remove_by_info_list(CollectionData *cd, GList *list); |
69 gint collection_rename(CollectionData *cd, const gchar *source, const gchar *dest); | 69 gint collection_rename(CollectionData *cd, FileData *fd); |
70 | 70 |
71 void collection_update_geometry(CollectionData *cd); | 71 void collection_update_geometry(CollectionData *cd); |
72 | 72 |
73 void collection_maint_removed(const gchar *path); | 73 void collection_maint_removed(FileData *fd); |
74 void collection_maint_renamed(const gchar *source, const gchar *dest); | 74 void collection_maint_renamed(FileData *fd); |
75 | 75 |
76 CollectWindow *collection_window_new(const gchar *path); | 76 CollectWindow *collection_window_new(const gchar *path); |
77 void collection_window_close_by_collection(CollectionData *cd); | 77 void collection_window_close_by_collection(CollectionData *cd); |
78 CollectWindow *collection_window_find(CollectionData *cd); | 78 CollectWindow *collection_window_find(CollectionData *cd); |
79 CollectWindow *collection_window_find_by_path(const gchar *path); | 79 CollectWindow *collection_window_find_by_path(const gchar *path); |