1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5
<title>File Index</title>
6
<link href="doxygen.css" rel="stylesheet" type="text/css">
9
<!-- Generated by Doxygen 1.3.4 -->
10
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11
<h1>dmxclient.h</h1><a href="dmxclient_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* $XFree86$ */</span>
12
00002 <span class="comment">/*</span>
13
00003 <span class="comment"> * Copyright (c) 1995 X Consortium</span>
14
00004 <span class="comment"> * Copyright 2004 Red Hat Inc., Durham, North Carolina.</span>
15
00005 <span class="comment"> *</span>
16
00006 <span class="comment"> * All Rights Reserved.</span>
17
00007 <span class="comment"> *</span>
18
00008 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
19
00009 <span class="comment"> * a copy of this software and associated documentation files (the</span>
20
00010 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
21
00011 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
22
00012 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
23
00013 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
24
00014 <span class="comment"> * subject to the following conditions:</span>
25
00015 <span class="comment"> *</span>
26
00016 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
27
00017 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
28
00018 <span class="comment"> *</span>
29
00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
30
00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
31
00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
32
00022 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,</span>
33
00023 <span class="comment"> * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
34
00024 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
35
00025 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
36
00026 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
37
00027 <span class="comment"> *</span>
38
00028 <span class="comment"> * Except as contained in this notice, the name of the X Consortium</span>
39
00029 <span class="comment"> * shall not be used in advertising or otherwise to promote the sale,</span>
40
00030 <span class="comment"> * use or other dealings in this Software without prior written</span>
41
00031 <span class="comment"> * authorization from the X Consortium.</span>
42
00032 <span class="comment"> */</span>
44
00034 <span class="comment">/*</span>
45
00035 <span class="comment"> * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com></span>
46
00036 <span class="comment"> */</span>
48
00042 <span class="preprocessor">#ifndef _DMXCLIENT_H_</span>
49
00043 <span class="preprocessor"></span><span class="preprocessor">#define _DMXCLIENT_H_</span>
50
00044 <span class="preprocessor"></span>
51
00045 <span class="preprocessor">#define GC XlibGC</span>
52
00046 <span class="preprocessor"></span>
53
00047 <span class="preprocessor">#ifdef _XSERVER64</span>
54
00048 <span class="preprocessor"></span><span class="preprocessor">#define DMX64</span>
55
00049 <span class="preprocessor"></span><span class="preprocessor">#undef _XSERVER64</span>
56
00050 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> XID64;
57
00051 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Mask64;
58
00052 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Atom64;
59
00053 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> VisualID64;
60
00054 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Time64;
61
00055 <span class="preprocessor">#define XID XID64</span>
62
00056 <span class="preprocessor"></span><span class="preprocessor">#define Mask Mask64</span>
63
00057 <span class="preprocessor"></span><span class="preprocessor">#define Atom Atom64</span>
64
00058 <span class="preprocessor"></span><span class="preprocessor">#define VisualID VisualID64</span>
65
00059 <span class="preprocessor"></span><span class="preprocessor">#define Time Time64</span>
66
00060 <span class="preprocessor"></span><span class="keyword">typedef</span> XID Window64;
67
00061 <span class="keyword">typedef</span> XID Drawable64;
68
00062 <span class="keyword">typedef</span> XID Font64;
69
00063 <span class="keyword">typedef</span> XID Pixmap64;
70
00064 <span class="keyword">typedef</span> XID Cursor64;
71
00065 <span class="keyword">typedef</span> XID Colormap64;
72
00066 <span class="keyword">typedef</span> XID GContext64;
73
00067 <span class="keyword">typedef</span> XID KeySym64;
74
00068 <span class="preprocessor">#define Window Window64</span>
75
00069 <span class="preprocessor"></span><span class="preprocessor">#define Drawable Drawable64</span>
76
00070 <span class="preprocessor"></span><span class="preprocessor">#define Font Font64</span>
77
00071 <span class="preprocessor"></span><span class="preprocessor">#define Pixmap Pixmap64</span>
78
00072 <span class="preprocessor"></span><span class="preprocessor">#define Cursor Cursor64</span>
79
00073 <span class="preprocessor"></span><span class="preprocessor">#define Colormap Colormap64</span>
80
00074 <span class="preprocessor"></span><span class="preprocessor">#define GContext GContext64</span>
81
00075 <span class="preprocessor"></span><span class="preprocessor">#define KeySym KeySym64</span>
82
00076 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
83
00077 <span class="preprocessor"></span>
84
00078 <span class="preprocessor">#include <X11/Xlib.h></span>
85
00079 <span class="preprocessor">#include <X11/Xlibint.h></span> <span class="comment">/* For _XExtension */</span>
86
00080 <span class="preprocessor">#include <X11/X.h></span> <span class="comment">/* from glxserver.h */</span>
87
00081 <span class="preprocessor">#include <X11/Xmd.h></span> <span class="comment">/* from glxserver.h */</span>
88
00082 <span class="preprocessor">#include <X11/Xproto.h></span>
89
00083 <span class="preprocessor">#include <X11/Xutil.h></span>
90
00084 <span class="preprocessor">#include <X11/Xatom.h></span>
91
00085 <span class="preprocessor">#include <X11/cursorfont.h></span>
92
00086 <span class="preprocessor">#include <X11/Xmu/SysUtil.h></span> <span class="comment">/* For XmuSnprintf */</span>
94
00088 <span class="preprocessor">#ifdef SHAPE</span>
95
00089 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/shape.h></span>
96
00090 <span class="preprocessor">#endif</span>
97
00091 <span class="preprocessor"></span>
98
00092 <span class="preprocessor">#ifdef RENDER</span>
99
00093 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/Xrender.h></span>
100
00094 <span class="preprocessor">#undef PictFormatType</span>
101
00095 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
102
00096 <span class="preprocessor"></span>
103
00097 <span class="preprocessor">#ifdef XKB</span>
104
00098 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKB.h></span>
105
00099 <span class="preprocessor">#include <X11/extensions/XKBstr.h></span>
106
00100 <span class="preprocessor">#endif</span>
107
00101 <span class="preprocessor"></span>
108
00102 <span class="preprocessor">#ifdef XINPUT</span>
109
00103 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XI.h></span>
110
00104 <span class="preprocessor">#endif</span>
111
00105 <span class="preprocessor"></span>
112
00106 <span class="comment">/* Always include these, since we query them even if we don't export XINPUT. */</span>
113
00107 <span class="preprocessor">#include <X11/extensions/XInput.h></span> <span class="comment">/* For XDevice */</span>
114
00108 <span class="preprocessor">#include <X11/extensions/Xext.h></span>
116
00110 <span class="preprocessor">#undef GC</span>
117
00111 <span class="preprocessor"></span>
118
00112 <span class="preprocessor">#ifdef DMX64</span>
119
00113 <span class="preprocessor"></span><span class="preprocessor">#define _XSERVER64</span>
120
00114 <span class="preprocessor"></span><span class="preprocessor">#undef XID</span>
121
00115 <span class="preprocessor"></span><span class="preprocessor">#undef Mask</span>
122
00116 <span class="preprocessor"></span><span class="preprocessor">#undef Atom</span>
123
00117 <span class="preprocessor"></span><span class="preprocessor">#undef VisualID</span>
124
00118 <span class="preprocessor"></span><span class="preprocessor">#undef Time</span>
125
00119 <span class="preprocessor"></span><span class="preprocessor">#undef Window</span>
126
00120 <span class="preprocessor"></span><span class="preprocessor">#undef Drawable</span>
127
00121 <span class="preprocessor"></span><span class="preprocessor">#undef Font</span>
128
00122 <span class="preprocessor"></span><span class="preprocessor">#undef Pixmap</span>
129
00123 <span class="preprocessor"></span><span class="preprocessor">#undef Cursor</span>
130
00124 <span class="preprocessor"></span><span class="preprocessor">#undef Colormap</span>
131
00125 <span class="preprocessor"></span><span class="preprocessor">#undef GContext</span>
132
00126 <span class="preprocessor"></span><span class="preprocessor">#undef KeySym</span>
133
00127 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
134
00128 <span class="preprocessor"></span>
135
00129 <span class="comment">/* These are in exglobals.h, but that conflicts with X11/extensions/XKBsrv.h */</span>
136
00130 <span class="keyword">extern</span> <span class="keywordtype">int</span> ProximityIn;
137
00131 <span class="keyword">extern</span> <span class="keywordtype">int</span> ProximityOut;
138
00132 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceValuator;
139
00133 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceMotionNotify;
140
00134 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceFocusIn;
141
00135 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceFocusOut;
142
00136 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceStateNotify;
143
00137 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceMappingNotify;
144
00138 <span class="keyword">extern</span> <span class="keywordtype">int</span> ChangeDeviceNotify;
146
00140 <span class="comment">/* Some protocol gets included last, after undefines. */</span>
147
00141 <span class="preprocessor">#include <X11/XKBlib.h></span>
148
00142 <span class="preprocessor">#ifdef XKB</span>
149
00143 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKBproto.h></span>
150
00144 <span class="preprocessor">#define XKB_IN_SERVER</span>
151
00145 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKBsrv.h></span>
152
00146 <span class="preprocessor">#undef XPointer</span>
153
00147 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
154
00148 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XIproto.h></span>
156
00150 <span class="preprocessor">#endif</span>
160
Generated June 29, 2004 for <a
161
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
162
<a href="http://www.doxygen.org/index.html">doxygen</a>