#ifndef _XTEST_H_
#define _XTEST_H_
#include <X11/Xfuncproto.h>
#define X_XTestGetVersion 0
#define X_XTestCompareCursor 1
#define X_XTestFakeInput 2
#define X_XTestGrabControl 3
#define XTestNumberEvents 0
#define XTestNumberErrors 0
#define XTestMajorVersion 2
#define XTestMinorVersion 2
#define XTestExtensionName "XTEST"
#ifndef _XTEST_SERVER_
#include <X11/extensions/XInput.h>
_XFUNCPROTOBEGIN
Bool XTestQueryExtension(
#if NeedFunctionPrototypes
Display* ,
int* ,
int* ,
int* ,
int*
#endif
);
Bool XTestCompareCursorWithWindow(
#if NeedFunctionPrototypes
Display* ,
Window ,
Cursor
#endif
);
Bool XTestCompareCurrentCursorWithWindow(
#if NeedFunctionPrototypes
Display* ,
Window
#endif
);
extern int XTestFakeKeyEvent(
#if NeedFunctionPrototypes
Display* ,
unsigned int ,
Bool ,
unsigned long
#endif
);
extern int XTestFakeButtonEvent(
#if NeedFunctionPrototypes
Display* ,
unsigned int ,
Bool ,
unsigned long
#endif
);
extern int XTestFakeMotionEvent(
#if NeedFunctionPrototypes
Display* ,
int ,
int ,
int ,
unsigned long
#endif
);
extern int XTestFakeRelativeMotionEvent(
#if NeedFunctionPrototypes
Display* ,
int ,
int ,
unsigned long
#endif
);
extern int XTestFakeDeviceKeyEvent(
#if NeedFunctionPrototypes
Display* ,
XDevice* ,
unsigned int ,
Bool ,
int* ,
int ,
unsigned long
#endif
);
extern int XTestFakeDeviceButtonEvent(
#if NeedFunctionPrototypes
Display* ,
XDevice* ,
unsigned int ,
Bool ,
int* ,
int ,
unsigned long
#endif
);
extern int XTestFakeProximityEvent(
#if NeedFunctionPrototypes
Display* ,
XDevice* ,
Bool ,
int* ,
int ,
unsigned long
#endif
);
extern int XTestFakeDeviceMotionEvent(
#if NeedFunctionPrototypes
Display* ,
XDevice* ,
Bool ,
int ,
int* ,
int ,
unsigned long
#endif
);
extern int XTestGrabControl(
#if NeedFunctionPrototypes
Display* ,
Bool
#endif
);
void XTestSetGContextOfGC(
#if NeedFunctionPrototypes
GC ,
GContext
#endif
);
void XTestSetVisualIDOfVisual(
#if NeedFunctionPrototypes
Visual* ,
VisualID
#endif
);
Status XTestDiscard(
#if NeedFunctionPrototypes
Display*
#endif
);
_XFUNCPROTOEND
#endif
#endif