summaryrefslogtreecommitdiff
path: root/XTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'XTest.h')
-rw-r--r--XTest.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/XTest.h b/XTest.h
index 9dea434..7403d20 100644
--- a/XTest.h
+++ b/XTest.h
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/include/extensions/XTest.h,v 3.3 2001/12/14 19:53:28 dawes Exp $ */
+/* $XFree86: xc/include/extensions/XTest.h,v 3.4 2003/11/17 22:20:03 dawes Exp $ */
#ifndef _XTEST_H_
#define _XTEST_H_
@@ -52,69 +52,54 @@ in this Software without prior written authorization from The Open Group.
_XFUNCPROTOBEGIN
Bool XTestQueryExtension(
-#if NeedFunctionPrototypes
Display* /* dpy */,
int* /* event_basep */,
int* /* error_basep */,
int* /* majorp */,
int* /* minorp */
-#endif
);
Bool XTestCompareCursorWithWindow(
-#if NeedFunctionPrototypes
Display* /* dpy */,
Window /* window */,
Cursor /* cursor */
-#endif
);
Bool XTestCompareCurrentCursorWithWindow(
-#if NeedFunctionPrototypes
Display* /* dpy */,
Window /* window */
-#endif
);
extern int XTestFakeKeyEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
unsigned int /* keycode */,
Bool /* is_press */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeButtonEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
unsigned int /* button */,
Bool /* is_press */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeMotionEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
int /* screen */,
int /* x */,
int /* y */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeRelativeMotionEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
int /* x */,
int /* y */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeDeviceKeyEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
XDevice* /* dev */,
unsigned int /* keycode */,
@@ -122,11 +107,9 @@ extern int XTestFakeDeviceKeyEvent(
int* /* axes */,
int /* n_axes */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeDeviceButtonEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
XDevice* /* dev */,
unsigned int /* button */,
@@ -134,22 +117,18 @@ extern int XTestFakeDeviceButtonEvent(
int* /* axes */,
int /* n_axes */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeProximityEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
XDevice* /* dev */,
Bool /* in_prox */,
int* /* axes */,
int /* n_axes */,
unsigned long /* delay */
-#endif
);
extern int XTestFakeDeviceMotionEvent(
-#if NeedFunctionPrototypes
Display* /* dpy */,
XDevice* /* dev */,
Bool /* is_relative */,
@@ -157,34 +136,25 @@ extern int XTestFakeDeviceMotionEvent(
int* /* axes */,
int /* n_axes */,
unsigned long /* delay */
-#endif
);
extern int XTestGrabControl(
-#if NeedFunctionPrototypes
Display* /* dpy */,
Bool /* impervious */
-#endif
);
void XTestSetGContextOfGC(
-#if NeedFunctionPrototypes
GC /* gc */,
GContext /* gid */
-#endif
);
void XTestSetVisualIDOfVisual(
-#if NeedFunctionPrototypes
Visual* /* visual */,
VisualID /* visualid */
-#endif
);
Status XTestDiscard(
-#if NeedFunctionPrototypes
Display* /* dpy */
-#endif
);
_XFUNCPROTOEND