PNGPalette.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_png_PNGPalette__
  3. #define __gnu_javax_imageio_png_PNGPalette__
  4. #pragma interface
  5. #include <gnu/javax/imageio/png/PNGChunk.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace imageio
  14. {
  15. namespace png
  16. {
  17. class PNGPalette;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace awt
  25. {
  26. namespace color
  27. {
  28. class ColorSpace;
  29. }
  30. namespace image
  31. {
  32. class IndexColorModel;
  33. }
  34. }
  35. }
  36. }
  37. class gnu::javax::imageio::png::PNGPalette : public ::gnu::javax::imageio::png::PNGChunk
  38. {
  39. public: // actually protected
  40. PNGPalette(jint, JArray< jbyte > *, jint);
  41. public:
  42. PNGPalette(::java::awt::image::IndexColorModel *);
  43. virtual ::java::awt::image::IndexColorModel * getPalette(::java::awt::color::ColorSpace *);
  44. virtual ::java::lang::String * toString();
  45. private:
  46. JArray< jint > * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) red;
  47. JArray< jint > * green;
  48. JArray< jint > * blue;
  49. public:
  50. static ::java::lang::Class class$;
  51. };
  52. #endif // __gnu_javax_imageio_png_PNGPalette__