BMPImageReader.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_BMPImageReader__
  3. #define __gnu_javax_imageio_bmp_BMPImageReader__
  4. #pragma interface
  5. #include <javax/imageio/ImageReader.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace javax
  11. {
  12. namespace imageio
  13. {
  14. namespace bmp
  15. {
  16. class BMPDecoder;
  17. class BMPFileHeader;
  18. class BMPImageReader;
  19. class BMPInfoHeader;
  20. }
  21. }
  22. }
  23. }
  24. namespace java
  25. {
  26. namespace awt
  27. {
  28. namespace image
  29. {
  30. class BufferedImage;
  31. }
  32. }
  33. }
  34. namespace javax
  35. {
  36. namespace imageio
  37. {
  38. class ImageReadParam;
  39. namespace metadata
  40. {
  41. class IIOMetadata;
  42. }
  43. namespace spi
  44. {
  45. class ImageReaderSpi;
  46. }
  47. }
  48. }
  49. }
  50. class gnu::javax::imageio::bmp::BMPImageReader : public ::javax::imageio::ImageReader
  51. {
  52. public: // actually protected
  53. BMPImageReader(::javax::imageio::spi::ImageReaderSpi *);
  54. private:
  55. void validateIndex(jint);
  56. public:
  57. virtual void setInput(::java::lang::Object *);
  58. virtual void setInput(::java::lang::Object *, jboolean, jboolean);
  59. virtual void setInput(::java::lang::Object *, jboolean);
  60. private:
  61. void checkStream();
  62. void readHeaders();
  63. public:
  64. virtual jint getWidth(jint);
  65. virtual jint getHeight(jint);
  66. virtual ::java::util::Iterator * getImageTypes(jint);
  67. virtual jint getNumImages(jboolean);
  68. virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
  69. virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
  70. virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
  71. private:
  72. ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) infoHeader;
  73. ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader;
  74. ::gnu::javax::imageio::bmp::BMPDecoder * decoder;
  75. public:
  76. static ::java::lang::Class class$;
  77. };
  78. #endif // __gnu_javax_imageio_bmp_BMPImageReader__