BMPFileHeader.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_BMPFileHeader__
  3. #define __gnu_javax_imageio_bmp_BMPFileHeader__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace javax
  11. {
  12. namespace imageio
  13. {
  14. namespace bmp
  15. {
  16. class BMPFileHeader;
  17. }
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace imageio
  24. {
  25. class IIOImage;
  26. namespace stream
  27. {
  28. class ImageInputStream;
  29. class ImageOutputStream;
  30. }
  31. }
  32. }
  33. }
  34. class gnu::javax::imageio::bmp::BMPFileHeader : public ::java::lang::Object
  35. {
  36. public:
  37. BMPFileHeader(::javax::imageio::stream::ImageInputStream *);
  38. BMPFileHeader(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::IIOImage *);
  39. virtual void write(::javax::imageio::stream::ImageOutputStream *);
  40. virtual void setSize(jlong);
  41. virtual void setOffset(jlong);
  42. virtual jlong getSize();
  43. virtual jlong getOffset();
  44. private:
  45. static const jshort bfType = 16973;
  46. public: // actually protected
  47. jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) bfSize;
  48. jlong bfOffBits;
  49. public:
  50. static const jint SIZE = 14;
  51. private:
  52. static const jint BITMAPINFOHEADER_SIZE = 40;
  53. public:
  54. static ::java::lang::Class class$;
  55. };
  56. #endif // __gnu_javax_imageio_bmp_BMPFileHeader__