9
|
1 /*
|
|
2 * GQview
|
|
3 * (C) 2004 John Ellis
|
|
4 *
|
|
5 * Author: John Ellis
|
|
6 *
|
|
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!
|
|
10 */
|
|
11
|
|
12
|
|
13 #ifndef THUMB_H
|
|
14 #define THUMB_H
|
|
15
|
|
16
|
|
17 ThumbLoader *thumb_loader_new(gint width, gint height);
|
|
18 void thumb_loader_set_callbacks(ThumbLoader *tl,
|
|
19 ThumbLoaderFunc func_done,
|
|
20 ThumbLoaderFunc func_error,
|
|
21 ThumbLoaderFunc func_progress,
|
|
22 gpointer data);
|
|
23 void thumb_loader_set_cache(ThumbLoader *tl, gint enable_cache, gint local, gint retry_failed);
|
|
24
|
|
25 gint thumb_loader_start(ThumbLoader *tl, const gchar *path);
|
|
26 void thumb_loader_free(ThumbLoader *tl);
|
|
27
|
|
28 GdkPixbuf *thumb_loader_get_pixbuf(ThumbLoader *tl, gint with_fallback);
|
|
29
|
|
30
|
|
31 #endif
|