Mercurial > geeqie
annotate src/thumb.h @ 1367:fe4da037be21
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0, second pass.
| author | zas_ |
|---|---|
| date | Sun, 01 Mar 2009 23:14:19 +0000 |
| parents | 8b89e3ff286b |
| children | a6f9ba6fd751 |
| rev | line source |
|---|---|
| 9 | 1 /* |
| 196 | 2 * Geeqie |
| 9 | 3 * (C) 2004 John Ellis |
| 1284 | 4 * Copyright (C) 2008 - 2009 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 | |
|
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
877
diff
changeset
|
34 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |
