]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/Xext/xtest1dd.h
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / programs / Xserver / Xext / xtest1dd.h
1 /* $XFree86: xc/programs/Xserver/Xext/xtest1dd.h,v 3.0 1996/05/06 05:55:43 dawes Exp $ */
2 /************************************************************
3
4 Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
5
6                         All Rights Reserved
7
8 Permission to use, copy, modify, and distribute this software and its
9 documentation for any purpose and without fee is hereby granted,
10 provided that the above copyright notice appear in all copies and that
11 both that copyright notice and this permission notice appear in
12 supporting documentation, and that the name of the above listed
13 copyright holder(s) not be used in advertising or publicity pertaining
14 to distribution of the software without specific, written prior
15 permission.
16
17 THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19 AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20 LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25 ********************************************************/
26
27 #ifndef XTEST1DD_H
28 #define XTEST1DD_H 1
29
30 extern  short           xtest_mousex;
31 extern  short           xtest_mousey;
32 extern  int             playback_on;
33 extern  ClientPtr       current_xtest_client;
34 extern  ClientPtr       playback_client;
35 extern  KeyCode         xtest_command_key;
36
37 extern void stop_stealing_input(
38 #if NeedFunctionPrototypes
39         void
40 #endif
41 );
42
43 extern void
44 steal_input(
45 #if NeedFunctionPrototypes
46         ClientPtr              /* client */,
47         CARD32                 /* mode */
48 #endif
49 );
50
51 extern void
52 flush_input_actions(
53 #if NeedFunctionPrototypes
54         void
55 #endif
56 );
57
58 extern void
59 XTestStealJumpData(
60 #if NeedFunctionPrototypes2
61         short                  /* jx */,
62         short                  /* jy */,
63         int                    /* dev_type */
64 #endif
65 );
66
67 extern void
68 XTestStealMotionData(
69 #if NeedFunctionPrototypes2
70         short                  /* dx */,
71         short                  /* dy */,
72         int                    /* dev_type */,
73         short                  /* mx */,
74         short                  /* my */
75 #endif
76 );
77
78 extern Bool
79 XTestStealKeyData(
80 #if NeedFunctionPrototypes2
81         CARD8                  /* keycode */,
82         char                   /* keystate */,
83         int                    /* dev_type */,
84         short                  /* locx */,
85         short                  /* locy */
86 #endif
87 );
88
89 extern void
90 parse_fake_input(
91 #if NeedFunctionPrototypes
92         ClientPtr              /* client */,
93         char *                 /* req */
94 #endif
95 );
96
97 extern void
98 XTestComputeWaitTime(
99 #if NeedFunctionPrototypes
100         struct timeval *       /* waittime */
101 #endif
102 );
103
104 extern int
105 XTestProcessInputAction(
106 #if NeedFunctionPrototypes
107         int                    /* readable */,
108         struct timeval *       /* waittime */
109 #endif
110 );
111
112 extern void
113 abort_play_back(
114 #if NeedFunctionPrototypes
115         void
116 #endif
117 );
118
119 extern void
120 return_input_array_size(
121 #if NeedFunctionPrototypes
122         ClientPtr              /* client */
123 #endif
124 );
125
126 #endif /* XTEST1DD_H */