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

#ifndef __javax_swing_ProgressMonitorInputStream__
#define __javax_swing_ProgressMonitorInputStream__

#pragma interface

#include <java/io/FilterInputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class Component;
    }
  }
  namespace javax
  {
    namespace swing
    {
      class ProgressMonitorInputStream;
      class ProgressMonitor;
    }
  }
}

class javax::swing::ProgressMonitorInputStream : public ::java::io::FilterInputStream
{
public:
  ProgressMonitorInputStream (::java::awt::Component *, ::java::lang::Object *, ::java::io::InputStream *);
  virtual void reset ();
  virtual jint read ();
  virtual jint read (jbyteArray);
  virtual jint read (jbyteArray, jint, jint);
  virtual jlong skip (jlong);
  virtual void close () { }
  virtual ::javax::swing::ProgressMonitor *getProgressMonitor () { return 0; }
private:
  ::javax::swing::ProgressMonitor * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream )))) monitor;
  jint nread;
  jint size;
public:

  static ::java::lang::Class class$;
};

#endif /* __javax_swing_ProgressMonitorInputStream__ */
