diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/awt/xlib/XEventLoop.h | |
download | cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.bz2 cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/awt/xlib/XEventLoop.h')
-rw-r--r-- | libjava/gnu/awt/xlib/XEventLoop.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/libjava/gnu/awt/xlib/XEventLoop.h b/libjava/gnu/awt/xlib/XEventLoop.h new file mode 100644 index 000000000..8061e9a94 --- /dev/null +++ b/libjava/gnu/awt/xlib/XEventLoop.h @@ -0,0 +1,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__ |