1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_gcj_xlib_XAnyEvent__ 5 #define __gnu_gcj_xlib_XAnyEvent__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 extern "Java" 11 { 12 namespace gnu 13 { 14 namespace gcj 15 { 16 class RawData; 17 namespace xlib 18 { 19 class Display; 20 class Window; 21 class XAnyEvent; 22 } 23 } 24 } 25 } 26 27 class gnu::gcj::xlib::XAnyEvent : public ::java::lang::Object 28 { 29 30 public: 31 XAnyEvent(::gnu::gcj::xlib::Display *); 32 private: 33 void init(); 34 public: // actually protected 35 void finalize(); 36 public: 37 jboolean loadNext(jboolean); 38 void interrupt(); 39 jint getType(); 40 void setType(jint); 41 ::gnu::gcj::xlib::Window * getWindow(); 42 void setWindow(::gnu::gcj::xlib::Window *); 43 jlong getSerial(); 44 void send(::gnu::gcj::xlib::Window *, jboolean, jlong); 45 ::java::lang::String * toString(); 46 static const jint TYPE_KEY_PRESS = 2; 47 static const jint TYPE_KEY_RELEASE = 3; 48 static const jint TYPE_BUTTON_PRESS = 4; 49 static const jint TYPE_BUTTON_RELEASE = 5; 50 static const jint TYPE_MOTION_NOTIFY = 6; 51 static const jint TYPE_ENTER_NOTIFY = 7; 52 static const jint TYPE_LEAVE_NOTIFY = 8; 53 static const jint TYPE_FOCUS_IN = 9; 54 static const jint TYPE_FOCUS_OUT = 10; 55 static const jint TYPE_KEYMAP_NOTIFY = 11; 56 static const jint TYPE_EXPOSE = 12; 57 static const jint TYPE_GRAPHICS_EXPOSE = 13; 58 static const jint TYPE_NO_EXPOSE = 14; 59 static const jint TYPE_VISIBILITY_NOTIFY = 15; 60 static const jint TYPE_CREATE_NOTIFY = 16; 61 static const jint TYPE_DESTROY_NOTIFY = 17; 62 static const jint TYPE_UNMAP_NOTIFY = 18; 63 static const jint TYPE_MAP_NOTIFY = 19; 64 static const jint TYPE_MAP_REQUEST = 20; 65 static const jint TYPE_REPARENT_NOTIFY = 21; 66 static const jint TYPE_CONFIGURE_NOTIFY = 22; 67 static const jint TYPE_CONFIGURE_REQUEST = 23; 68 static const jint TYPE_GRAVITY_NOTIFY = 24; 69 static const jint TYPE_RESIZE_REQUEST = 25; 70 static const jint TYPE_CIRCULATE_NOTIFY = 26; 71 static const jint TYPE_CIRCULATE_REQUEST = 27; 72 static const jint TYPE_PROPERTY_NOTIFY = 28; 73 static const jint TYPE_SELECTION_CLEAR = 29; 74 static const jint TYPE_SELECTION_REQUEST = 30; 75 static const jint TYPE_SELECTION_NOTIFY = 31; 76 static const jint TYPE_COLORMAP_NOTIFY = 32; 77 static const jint TYPE_CLIENT_MESSAGE = 33; 78 static const jint TYPE_MAPPING_NOTIFY = 34; 79 static const jlong MASK_SUBSTRUCTURE_NOTIFY = 524288LL; 80 static const jlong MASK_SUBSTRUCTURE_REDIRECT = 1048576LL; 81 public: // actually package-private 82 ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pipefds; 83 ::gnu::gcj::RawData * structure; 84 ::gnu::gcj::xlib::Display * display; 85 public: 86 static ::java::lang::Class class$; 87 }; 88 89 #endif // __gnu_gcj_xlib_XAnyEvent__ 90