summaryrefslogtreecommitdiff
path: root/tumbler/tumbler.h
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-06-05 00:20:39 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-06-05 00:20:39 +0200
commit70e48396705c2a03ff27148c35b09cc2cad03df9 (patch)
tree373b86d52c153ac287eed8eb19b0114e02b19750 /tumbler/tumbler.h
parent49a294f22e75f117171973e8f701819fa4c5a684 (diff)
downloadtumbler-70e48396705c2a03ff27148c35b09cc2cad03df9.tar.gz
Improve threshold scheduler, thumbnail info and builtin thumbnailer.
Depend on libpng 1.2 and make gdk-pixbuf a hard dependency. Remove tumbler/tumbler-thumbnail.{c,h}. Move all related functions into TumblerThumbnailInfo. Improve the generation of tumbler-marshal.{c,h}, so that they can be included in the library and be used by others. Improve TumblerThumbnailInfo and TumblerPNGThumbnailInfo. The interface now has functions to save fail thumbnails and pixbufs for all supported thumbnail flavors. It can also check whether there are invalid/outdated flavors. It also knows about the GFile's and sizes of all flavors. Specialized thumbnailers can use TumblerThumbnailInfo to check if they need to do something and if so, what they need to do. Once they have a GdkPixbuf ready, they can just hand it over to the TumblerThumbnailInfo and don't have to worry about saving. Also improve TumblerPNGThumbnailInfo, which is an implementation of TumblerThumbnailInfo that supports the thumbnail cache defined in the Thumbnail Managing Standard. The built-in pixbuf thumbnailer is almost completely implemented now. However, it doesn't support cropped thumbnails yet. This commit also adds a new method tumbler_scheduler_emit_uri_error() which can be used to emit an error for only one URI. Finally, it includes a few code cleanups.
Diffstat (limited to 'tumbler/tumbler.h')
-rw-r--r--tumbler/tumbler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tumbler/tumbler.h b/tumbler/tumbler.h
index c312722..2a5f812 100644
--- a/tumbler/tumbler.h
+++ b/tumbler/tumbler.h
@@ -27,6 +27,7 @@
#include <tumbler/tumbler-enum-types.h>
#include <tumbler/tumbler-error.h>
#include <tumbler/tumbler-marshal.h>
+#include <tumbler/tumbler-thumbnail-info.h>
#include <tumbler/tumbler-thumbnail.h>
#undef TUMBLER_INSIDE_TUMBLER_H