
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_gtk_GtkImageConsumer__
#define __gnu_java_awt_peer_gtk_GtkImageConsumer__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace gtk
          {
              class GtkImage;
              class GtkImageConsumer;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class ColorModel;
          class ImageProducer;
      }
    }
  }
}

class gnu::java::awt::peer::gtk::GtkImageConsumer : public ::java::lang::Object
{

public:
  GtkImageConsumer(::gnu::java::awt::peer::gtk::GtkImage *, ::java::awt::image::ImageProducer *);
  virtual void imageComplete(jint);
  virtual void setColorModel(::java::awt::image::ColorModel *);
  virtual void setDimensions(jint, jint);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
private:
  JArray< jint > * convertPixels(JArray< jbyte > *);
public:
  virtual void setProperties(::java::util::Hashtable *);
private:
  ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
  jint width;
  jint height;
  ::java::util::Hashtable * properties;
  JArray< jint > * pixelCache;
  ::java::awt::image::ImageProducer * source;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_gtk_GtkImageConsumer__
