diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-06 20:40:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-06 20:40:09 +0000 |
commit | e71691bae890040b83cfd54a2d9a1097d5026866 (patch) | |
tree | 96b2680dc6559ca0ab88fa0b6a533c13b7c9487e /image/webp.h | |
parent | e77b1a29550e4753f771848705975295a6ebe99e (diff) | |
download | netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.gz netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.bz2 |
Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
Diffstat (limited to 'image/webp.h')
-rw-r--r-- | image/webp.h | 22 |
1 files changed, 9 insertions, 13 deletions
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 <stdbool.h> -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 */ |