From e71691bae890040b83cfd54a2d9a1097d5026866 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 May 2011 20:40:09 +0000 Subject: Merge branches/jmb/content-factory to trunk svn path=/trunk/netsurf/; revision=12283 --- image/webp.h | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'image/webp.h') diff --git a/image/webp.h b/image/webp.h index a89713ac3..3d976d13e 100644 --- a/image/webp.h +++ b/image/webp.h @@ -28,19 +28,15 @@ #include -struct content; -struct rect; - -struct content_webp_data { -/* empty */ -}; - -bool webp_convert(struct content *c); -void webp_destroy(struct content *c); -bool webp_redraw(struct content *c, int x, int y, - int width, int height, const struct rect *clip, - float scale, colour background_colour); -bool webp_clone(const struct content *old, struct content *new_content); +#include "utils/errors.h" + +nserror webp_init(void); +void webp_fini(void); + +#else + +#define webp_init() NSERROR_OK +#define webp_fini() ((void) 0) #endif /* WITH_WEBP */ -- cgit v1.2.3