Mercurial > geeqie.yaz
comparison src/cache-loader.h @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
author | nadvornik |
---|---|
date | Tue, 11 Sep 2007 20:06:29 +0000 |
parents | 67ba4381497e |
children | f6e307c7bad6 |
comparison
equal
deleted
inserted
replaced
137:be3328a58875 | 138:71e1ebee420e |
---|---|
30 CACHE_LOADER_MD5SUM = 1 << 2, | 30 CACHE_LOADER_MD5SUM = 1 << 2, |
31 CACHE_LOADER_SIMILARITY = 1 << 3 | 31 CACHE_LOADER_SIMILARITY = 1 << 3 |
32 } CacheDataType; | 32 } CacheDataType; |
33 | 33 |
34 struct _CacheLoader { | 34 struct _CacheLoader { |
35 gchar *path; | 35 FileData *fd; |
36 CacheData *cd; | 36 CacheData *cd; |
37 | 37 |
38 CacheDataType todo_mask; | 38 CacheDataType todo_mask; |
39 CacheDataType done_mask; | 39 CacheDataType done_mask; |
40 | 40 |
46 ImageLoader *il; | 46 ImageLoader *il; |
47 gint idle_id; | 47 gint idle_id; |
48 }; | 48 }; |
49 | 49 |
50 | 50 |
51 CacheLoader *cache_loader_new(const gchar *path, CacheDataType load_mask, | 51 CacheLoader *cache_loader_new(FileData *fd, CacheDataType load_mask, |
52 CacheLoaderDoneFunc done_func, gpointer done_data); | 52 CacheLoaderDoneFunc done_func, gpointer done_data); |
53 | 53 |
54 void cache_loader_free(CacheLoader *cl); | 54 void cache_loader_free(CacheLoader *cl); |
55 | 55 |
56 | 56 |