diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-03-05 09:49:15 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-03-05 09:49:15 +0000 |
commit | 208b98bb44b986e62ff0f80b7e50c9da3e12cb8f (patch) | |
tree | 83620f97ee05ddf3a4852607e465b2c1ae114175 /content/content_protected.h | |
parent | 323d5f3ba1b8ea700215616e42a5fb158ee7006f (diff) | |
download | netsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.gz netsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.bz2 |
Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency.
svn path=/trunk/netsurf/; revision=11911
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 38f381583..50ece50a5 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -81,7 +81,9 @@ #ifdef WITH_AMIGA_ICON #include "amiga/icon.h" #endif - +#ifdef WITH_APPLE_IMAGE +#include "cocoa/apple_image.h" +#endif struct bitmap; struct content; @@ -159,6 +161,9 @@ struct content { #ifdef WITH_AMIGA_ICON struct content_amiga_icon_data amiga_icon; #endif +#ifdef WITH_APPLE_IMAGE + struct content_apple_image_data apple_image; +#endif } data; /**< URL for refresh request, in standard form as from url_join. */ |