BMPDecoder.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_BMPDecoder__
  3. #define __gnu_javax_imageio_bmp_BMPDecoder__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace imageio
  14. {
  15. namespace bmp
  16. {
  17. class BMPDecoder;
  18. class BMPFileHeader;
  19. class BMPInfoHeader;
  20. }
  21. }
  22. }
  23. }
  24. namespace java
  25. {
  26. namespace awt
  27. {
  28. namespace image
  29. {
  30. class BufferedImage;
  31. class IndexColorModel;
  32. }
  33. }
  34. }
  35. namespace javax
  36. {
  37. namespace imageio
  38. {
  39. namespace stream
  40. {
  41. class ImageInputStream;
  42. }
  43. }
  44. }
  45. }
  46. class gnu::javax::imageio::bmp::BMPDecoder : public ::java::lang::Object
  47. {
  48. public:
  49. BMPDecoder(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *);
  50. static ::gnu::javax::imageio::bmp::BMPDecoder * getDecoder(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *);
  51. virtual ::java::awt::image::BufferedImage * decode(::javax::imageio::stream::ImageInputStream *) = 0;
  52. public: // actually protected
  53. virtual JArray< jint > * readBitMasks(::javax::imageio::stream::ImageInputStream *);
  54. virtual ::java::awt::image::IndexColorModel * readPalette(::javax::imageio::stream::ImageInputStream *);
  55. virtual void skipToImage(::javax::imageio::stream::ImageInputStream *);
  56. ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) infoHeader;
  57. ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader;
  58. jlong offset;
  59. public:
  60. static ::java::lang::Class class$;
  61. };
  62. #endif // __gnu_javax_imageio_bmp_BMPDecoder__