1 | /* $XFree86: xc/programs/Xserver/include/extinit.h,v 3.2 2001/08/01 00:44:58 tsi Exp $ */
|
---|
2 | /************************************************************
|
---|
3 |
|
---|
4 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
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 | /********************************************************************
|
---|
28 | * Interface of extinit.c
|
---|
29 | */
|
---|
30 |
|
---|
31 | #ifndef EXTINIT_H
|
---|
32 | #define EXTINIT_H
|
---|
33 |
|
---|
34 | #include "extnsionst.h"
|
---|
35 |
|
---|
36 | void
|
---|
37 | XInputExtensionInit(
|
---|
38 | void
|
---|
39 | );
|
---|
40 |
|
---|
41 |
|
---|
42 | int
|
---|
43 | ProcIDispatch (
|
---|
44 | ClientPtr /* client */
|
---|
45 | );
|
---|
46 |
|
---|
47 | int
|
---|
48 | SProcIDispatch(
|
---|
49 | ClientPtr /* client */
|
---|
50 | );
|
---|
51 |
|
---|
52 | void
|
---|
53 | SReplyIDispatch (
|
---|
54 | ClientPtr /* client */,
|
---|
55 | int /* len */,
|
---|
56 | xGrabDeviceReply * /* rep */
|
---|
57 | );
|
---|
58 |
|
---|
59 | void
|
---|
60 | SEventIDispatch (
|
---|
61 | xEvent * /* from */,
|
---|
62 | xEvent * /* to */
|
---|
63 | );
|
---|
64 |
|
---|
65 | void
|
---|
66 | SEventDeviceValuator (
|
---|
67 | deviceValuator * /* from */,
|
---|
68 | deviceValuator * /* to */
|
---|
69 | );
|
---|
70 |
|
---|
71 | void
|
---|
72 | SEventFocus (
|
---|
73 | deviceFocus * /* from */,
|
---|
74 | deviceFocus * /* to */
|
---|
75 | );
|
---|
76 |
|
---|
77 | void
|
---|
78 | SDeviceStateNotifyEvent (
|
---|
79 | deviceStateNotify * /* from */,
|
---|
80 | deviceStateNotify * /* to */
|
---|
81 | );
|
---|
82 |
|
---|
83 | void
|
---|
84 | SDeviceKeyStateNotifyEvent (
|
---|
85 | deviceKeyStateNotify * /* from */,
|
---|
86 | deviceKeyStateNotify * /* to */
|
---|
87 | );
|
---|
88 |
|
---|
89 | void
|
---|
90 | SDeviceButtonStateNotifyEvent (
|
---|
91 | deviceButtonStateNotify * /* from */,
|
---|
92 | deviceButtonStateNotify * /* to */
|
---|
93 | );
|
---|
94 |
|
---|
95 | void
|
---|
96 | SChangeDeviceNotifyEvent (
|
---|
97 | changeDeviceNotify * /* from */,
|
---|
98 | changeDeviceNotify * /* to */
|
---|
99 | );
|
---|
100 |
|
---|
101 | void
|
---|
102 | SDeviceMappingNotifyEvent (
|
---|
103 | deviceMappingNotify * /* from */,
|
---|
104 | deviceMappingNotify * /* to */
|
---|
105 | );
|
---|
106 |
|
---|
107 | void
|
---|
108 | FixExtensionEvents (
|
---|
109 | ExtensionEntry * /* extEntry */
|
---|
110 | );
|
---|
111 |
|
---|
112 | void
|
---|
113 | RestoreExtensionEvents (
|
---|
114 | void
|
---|
115 | );
|
---|
116 |
|
---|
117 | void
|
---|
118 | IResetProc(
|
---|
119 | ExtensionEntry * /* unused */
|
---|
120 | );
|
---|
121 |
|
---|
122 | void
|
---|
123 | AssignTypeAndName (
|
---|
124 | DeviceIntPtr /* dev */,
|
---|
125 | Atom /* type */,
|
---|
126 | char * /* name */
|
---|
127 | );
|
---|
128 |
|
---|
129 | void
|
---|
130 | MakeDeviceTypeAtoms (
|
---|
131 | void
|
---|
132 | );
|
---|
133 |
|
---|
134 | DeviceIntPtr
|
---|
135 | LookupDeviceIntRec (
|
---|
136 | CARD8 /* id */
|
---|
137 | );
|
---|
138 |
|
---|
139 | void
|
---|
140 | SetExclusiveAccess (
|
---|
141 | Mask /* mask */
|
---|
142 | );
|
---|
143 |
|
---|
144 | void
|
---|
145 | AllowPropagateSuppress (
|
---|
146 | Mask /* mask */
|
---|
147 | );
|
---|
148 |
|
---|
149 | Mask
|
---|
150 | GetNextExtEventMask (
|
---|
151 | void
|
---|
152 | );
|
---|
153 |
|
---|
154 | void
|
---|
155 | SetMaskForExtEvent(
|
---|
156 | Mask /* mask */,
|
---|
157 | int /* event */
|
---|
158 | );
|
---|
159 |
|
---|
160 | void
|
---|
161 | SetEventInfo(
|
---|
162 | Mask /* mask */,
|
---|
163 | int /* constant */
|
---|
164 | );
|
---|
165 |
|
---|
166 | #endif /* EXTINIT_H */
|
---|