ProgressMonitorInputStream.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ProgressMonitorInputStream__
  3. #define __javax_swing_ProgressMonitorInputStream__
  4. #pragma interface
  5. #include <java/io/FilterInputStream.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Component;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace swing
  19. {
  20. class ProgressMonitor;
  21. class ProgressMonitorInputStream;
  22. }
  23. }
  24. }
  25. class javax::swing::ProgressMonitorInputStream : public ::java::io::FilterInputStream
  26. {
  27. public:
  28. ProgressMonitorInputStream(::java::awt::Component *, ::java::lang::Object *, ::java::io::InputStream *);
  29. virtual void reset();
  30. virtual jint read();
  31. virtual jint read(JArray< jbyte > *);
  32. virtual jint read(JArray< jbyte > *, jint, jint);
  33. virtual jlong skip(jlong);
  34. virtual void close();
  35. virtual ::javax::swing::ProgressMonitor * getProgressMonitor();
  36. private:
  37. void checkMonitorCanceled();
  38. ::javax::swing::ProgressMonitor * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) monitor;
  39. jint read__;
  40. public: // actually package-private
  41. static jboolean $assertionsDisabled;
  42. public:
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __javax_swing_ProgressMonitorInputStream__