diff options
Diffstat (limited to 'libjava/gnu/javax/imageio/bmp/BMPDecoder.h')
-rw-r--r-- | libjava/gnu/javax/imageio/bmp/BMPDecoder.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/libjava/gnu/javax/imageio/bmp/BMPDecoder.h b/libjava/gnu/javax/imageio/bmp/BMPDecoder.h new file mode 100644 index 00000000000..34c486a438a --- /dev/null +++ b/libjava/gnu/javax/imageio/bmp/BMPDecoder.h @@ -0,0 +1,70 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_imageio_bmp_BMPDecoder__ +#define __gnu_javax_imageio_bmp_BMPDecoder__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace imageio + { + namespace bmp + { + class BMPDecoder; + class BMPFileHeader; + class BMPInfoHeader; + } + } + } + } + namespace java + { + namespace awt + { + namespace image + { + class BufferedImage; + class IndexColorModel; + } + } + } + namespace javax + { + namespace imageio + { + namespace stream + { + class ImageInputStream; + } + } + } +} + +class gnu::javax::imageio::bmp::BMPDecoder : public ::java::lang::Object +{ + +public: + BMPDecoder(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *); + static ::gnu::javax::imageio::bmp::BMPDecoder * getDecoder(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *); + virtual ::java::awt::image::BufferedImage * decode(::javax::imageio::stream::ImageInputStream *) = 0; +public: // actually protected + virtual JArray< jint > * readBitMasks(::javax::imageio::stream::ImageInputStream *); + virtual ::java::awt::image::IndexColorModel * readPalette(::javax::imageio::stream::ImageInputStream *); + virtual void skipToImage(::javax::imageio::stream::ImageInputStream *); + ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) infoHeader; + ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader; + jlong offset; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_imageio_bmp_BMPDecoder__ |