updated copyright in source files
[geeqie.git] / src / thumb.h
1 /*
2  * Geeqie
3  * (C) 2004 John Ellis
4  * Copyright (C) 2008 The Geeqie Team
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
26 gint thumb_loader_start(ThumbLoader *tl, const gchar *path);
27 void thumb_loader_free(ThumbLoader *tl);
28
29 GdkPixbuf *thumb_loader_get_pixbuf(ThumbLoader *tl, gint with_fallback);
30
31
32 #endif