Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / javax / imageio / bmp / BMPInfoHeader.h
blobd47843f605618d950639dd2c1458c44f1ac86c43
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_imageio_bmp_BMPInfoHeader__
5 #define __gnu_javax_imageio_bmp_BMPInfoHeader__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace javax
18 namespace imageio
20 namespace bmp
22 class BMPInfoHeader;
27 namespace java
29 namespace awt
31 class Dimension;
34 namespace javax
36 namespace imageio
38 class IIOImage;
39 class ImageWriteParam;
40 namespace stream
42 class ImageInputStream;
43 class ImageOutputStream;
49 class gnu::javax::imageio::bmp::BMPInfoHeader : public ::java::lang::Object
52 public:
53 BMPInfoHeader(::javax::imageio::stream::ImageInputStream *);
54 BMPInfoHeader(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
55 private:
56 JArray< jbyte > * intToWord(jint);
57 JArray< jbyte > * intToDWord(jint);
58 public:
59 virtual void setBitCount(jshort);
60 virtual jshort getBitCount();
61 virtual void setCompression(jint);
62 virtual jint getNumberOfPaletteEntries();
63 virtual jint getCompression();
64 virtual ::java::awt::Dimension * getSize();
65 virtual jint getWidth();
66 virtual jint getHeight();
67 virtual void setSize(::java::awt::Dimension *);
68 public: // actually protected
69 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) biSize;
70 jint biWidth;
71 jint biHeight;
72 jshort biPlanes;
73 jshort biBitCount;
74 jint biCompression;
75 jint biSizeImage;
76 jint biXPelsPerMeter;
77 jint biYPelsPerMeter;
78 jint biClrUsed;
79 jint biClrImportant;
80 public:
81 static const jint SIZE = 40;
82 static const jint BI_RGB = 0;
83 static const jint BI_RLE8 = 1;
84 static const jint BI_RLE4 = 2;
85 static const jint BI_BITFIELDS = 3;
86 static ::java::lang::Class class$;
89 #endif // __gnu_javax_imageio_bmp_BMPInfoHeader__