Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / javax / imageio / bmp / BMPImageReader.h
blob972124e67062a791e9b3820fba420df2530d06bd
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_imageio_bmp_BMPImageReader__
5 #define __gnu_javax_imageio_bmp_BMPImageReader__
7 #pragma interface
9 #include <javax/imageio/ImageReader.h>
10 extern "Java"
12 namespace gnu
14 namespace javax
16 namespace imageio
18 namespace bmp
20 class BMPDecoder;
21 class BMPFileHeader;
22 class BMPImageReader;
23 class BMPInfoHeader;
28 namespace java
30 namespace awt
32 namespace image
34 class BufferedImage;
38 namespace javax
40 namespace imageio
42 class ImageReadParam;
43 namespace metadata
45 class IIOMetadata;
47 namespace spi
49 class ImageReaderSpi;
55 class gnu::javax::imageio::bmp::BMPImageReader : public ::javax::imageio::ImageReader
58 public: // actually protected
59 BMPImageReader(::javax::imageio::spi::ImageReaderSpi *);
60 private:
61 void validateIndex(jint);
62 public:
63 virtual void setInput(::java::lang::Object *);
64 virtual void setInput(::java::lang::Object *, jboolean, jboolean);
65 virtual void setInput(::java::lang::Object *, jboolean);
66 private:
67 void checkStream();
68 void readHeaders();
69 public:
70 virtual jint getWidth(jint);
71 virtual jint getHeight(jint);
72 virtual ::java::util::Iterator * getImageTypes(jint);
73 virtual jint getNumImages(jboolean);
74 virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
75 virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
76 virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
77 private:
78 ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) infoHeader;
79 ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader;
80 ::gnu::javax::imageio::bmp::BMPDecoder * decoder;
81 public:
82 static ::java::lang::Class class$;
85 #endif // __gnu_javax_imageio_bmp_BMPImageReader__