diff src/image-load.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/image-load.h	Thu Aug 23 20:45:59 2007 +0000
+++ b/src/image-load.h	Tue Sep 11 20:06:29 2007 +0000
@@ -14,7 +14,10 @@
 #define IMAGE_LOAD_H
 
 
-ImageLoader *image_loader_new(const gchar *path);
+ImageLoader *image_loader_new(FileData *fd);
+
+/* we don't want full FileData for thumbnails */
+ImageLoader *image_loader_new_from_path(const gchar *path);
 void image_loader_free(ImageLoader *il);
 
 void image_loader_set_area_ready_func(ImageLoader *il,
@@ -48,7 +51,7 @@
 gdouble image_loader_get_percent(ImageLoader *il);
 gint image_loader_get_is_done(ImageLoader *il);
 
-gint image_load_dimensions(const gchar *path, gint *width, gint *height);
+gint image_load_dimensions(FileData *fd, gint *width, gint *height);
 
 #endif