9
|
1 /*
|
196
|
2 * Geeqie
|
9
|
3 * (C) 2004 John Ellis
|
475
|
4 * Copyright (C) 2008 The Geeqie Team
|
9
|
5 *
|
|
6 * Author: John Ellis
|
|
7 *
|
|
8 * This software is released under the GNU General Public License (GNU GPL).
|
|
9 * Please read the included file COPYING for more information.
|
|
10 * This software comes with no warranty of any kind, use at your own risk!
|
|
11 */
|
|
12
|
|
13
|
|
14 #ifndef THUMB_H
|
|
15 #define THUMB_H
|
|
16
|
|
17
|
|
18 ThumbLoader *thumb_loader_new(gint width, gint height);
|
|
19 void thumb_loader_set_callbacks(ThumbLoader *tl,
|
|
20 ThumbLoaderFunc func_done,
|
|
21 ThumbLoaderFunc func_error,
|
|
22 ThumbLoaderFunc func_progress,
|
|
23 gpointer data);
|
|
24 void thumb_loader_set_cache(ThumbLoader *tl, gint enable_cache, gint local, gint retry_failed);
|
|
25
|
838
|
26 gint thumb_loader_start(ThumbLoader *tl, FileData *fd);
|
9
|
27 void thumb_loader_free(ThumbLoader *tl);
|
|
28
|
864
|
29 GdkPixbuf *thumb_loader_get_pixbuf(ThumbLoader *tl);
|
9
|
30
|
877
|
31 void thumb_notify_cb(FileData *fd, NotifyType type, gpointer data);
|
9
|
32
|
|
33 #endif
|