summaryrefslogtreecommitdiff
path: root/libjava/gnu/awt/xlib/XEventLoop.h
blob: 8061e9a94414b6d8cce405a4edbc98fc8bf2b81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_awt_xlib_XEventLoop__
#define __gnu_awt_xlib_XEventLoop__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace awt
    {
        class LightweightRedirector;
      namespace xlib
      {
          class XEventLoop;
      }
    }
    namespace gcj
    {
      namespace xlib
      {
          class Display;
          class XAnyEvent;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class Component;
        class EventQueue;
    }
  }
}

class gnu::awt::xlib::XEventLoop : public ::java::lang::Object
{

public:
  XEventLoop(::gnu::gcj::xlib::Display *, ::java::awt::EventQueue *);
  virtual void run();
public: // actually package-private
  virtual jboolean postNextEvent(jboolean);
public:
  virtual ::java::awt::AWTEvent * getNextEvent(jboolean);
public: // actually package-private
  virtual jboolean loadNextEvent(jboolean);
  virtual ::java::awt::AWTEvent * createEvent();
  virtual ::java::awt::AWTEvent * createPaintEvent(::java::awt::Component *);
  virtual ::java::awt::AWTEvent * createMouseEvent(jint, ::java::awt::Component *);
  virtual void configureNotify(::java::lang::Object *);
public:
  virtual void flushIfIdle();
public: // actually package-private
  virtual void setIdle(jboolean);
  virtual jboolean isIdle();
  ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
  ::java::awt::EventQueue * queue;
  ::gnu::gcj::xlib::XAnyEvent * anyEvent;
private:
  ::java::lang::Thread * eventLoopThread;
public: // actually package-private
  ::gnu::awt::LightweightRedirector * lightweightRedirector;
  jboolean volatile idle;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_awt_xlib_XEventLoop__