XEventLoop.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XEventLoop__
  3. #define __gnu_awt_xlib_XEventLoop__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace awt
  11. {
  12. class LightweightRedirector;
  13. namespace xlib
  14. {
  15. class XEventLoop;
  16. }
  17. }
  18. namespace gcj
  19. {
  20. namespace xlib
  21. {
  22. class Display;
  23. class XAnyEvent;
  24. }
  25. }
  26. }
  27. namespace java
  28. {
  29. namespace awt
  30. {
  31. class AWTEvent;
  32. class Component;
  33. class EventQueue;
  34. }
  35. }
  36. }
  37. class gnu::awt::xlib::XEventLoop : public ::java::lang::Object
  38. {
  39. public:
  40. XEventLoop(::gnu::gcj::xlib::Display *, ::java::awt::EventQueue *);
  41. virtual void run();
  42. public: // actually package-private
  43. virtual jboolean postNextEvent(jboolean);
  44. public:
  45. virtual ::java::awt::AWTEvent * getNextEvent(jboolean);
  46. public: // actually package-private
  47. virtual jboolean loadNextEvent(jboolean);
  48. virtual ::java::awt::AWTEvent * createEvent();
  49. virtual ::java::awt::AWTEvent * createPaintEvent(::java::awt::Component *);
  50. virtual ::java::awt::AWTEvent * createMouseEvent(jint, ::java::awt::Component *);
  51. virtual void configureNotify(::java::lang::Object *);
  52. public:
  53. virtual void flushIfIdle();
  54. public: // actually package-private
  55. virtual void setIdle(jboolean);
  56. virtual jboolean isIdle();
  57. ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
  58. ::java::awt::EventQueue * queue;
  59. ::gnu::gcj::xlib::XAnyEvent * anyEvent;
  60. private:
  61. ::java::lang::Thread * eventLoopThread;
  62. public: // actually package-private
  63. ::gnu::awt::LightweightRedirector * lightweightRedirector;
  64. jboolean volatile idle;
  65. public:
  66. static ::java::lang::Class class$;
  67. };
  68. #endif // __gnu_awt_xlib_XEventLoop__