169 lines
12 KiB
HTML
169 lines
12 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>File Index</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.3.4 -->
|
|
<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>
|
|
<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>
|
|
00002 <span class="comment">/*</span>
|
|
00003 <span class="comment"> * Copyright (c) 1995 X Consortium</span>
|
|
00004 <span class="comment"> * Copyright 2004 Red Hat Inc., Durham, North Carolina.</span>
|
|
00005 <span class="comment"> *</span>
|
|
00006 <span class="comment"> * All Rights Reserved.</span>
|
|
00007 <span class="comment"> *</span>
|
|
00008 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
|
|
00009 <span class="comment"> * a copy of this software and associated documentation files (the</span>
|
|
00010 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
|
|
00011 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
|
|
00012 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
|
|
00013 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
|
|
00014 <span class="comment"> * subject to the following conditions:</span>
|
|
00015 <span class="comment"> *</span>
|
|
00016 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
|
|
00017 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
|
|
00018 <span class="comment"> *</span>
|
|
00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
|
|
00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
|
|
00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
|
|
00022 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,</span>
|
|
00023 <span class="comment"> * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
|
00024 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
|
|
00025 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
|
|
00026 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
|
|
00027 <span class="comment"> *</span>
|
|
00028 <span class="comment"> * Except as contained in this notice, the name of the X Consortium</span>
|
|
00029 <span class="comment"> * shall not be used in advertising or otherwise to promote the sale,</span>
|
|
00030 <span class="comment"> * use or other dealings in this Software without prior written</span>
|
|
00031 <span class="comment"> * authorization from the X Consortium.</span>
|
|
00032 <span class="comment"> */</span>
|
|
00033
|
|
00034 <span class="comment">/*</span>
|
|
00035 <span class="comment"> * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com></span>
|
|
00036 <span class="comment"> */</span>
|
|
00037
|
|
00042 <span class="preprocessor">#ifndef _DMXCLIENT_H_</span>
|
|
00043 <span class="preprocessor"></span><span class="preprocessor">#define _DMXCLIENT_H_</span>
|
|
00044 <span class="preprocessor"></span>
|
|
00045 <span class="preprocessor">#define GC XlibGC</span>
|
|
00046 <span class="preprocessor"></span>
|
|
00047 <span class="preprocessor">#ifdef _XSERVER64</span>
|
|
00048 <span class="preprocessor"></span><span class="preprocessor">#define DMX64</span>
|
|
00049 <span class="preprocessor"></span><span class="preprocessor">#undef _XSERVER64</span>
|
|
00050 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> XID64;
|
|
00051 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Mask64;
|
|
00052 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Atom64;
|
|
00053 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> VisualID64;
|
|
00054 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> Time64;
|
|
00055 <span class="preprocessor">#define XID XID64</span>
|
|
00056 <span class="preprocessor"></span><span class="preprocessor">#define Mask Mask64</span>
|
|
00057 <span class="preprocessor"></span><span class="preprocessor">#define Atom Atom64</span>
|
|
00058 <span class="preprocessor"></span><span class="preprocessor">#define VisualID VisualID64</span>
|
|
00059 <span class="preprocessor"></span><span class="preprocessor">#define Time Time64</span>
|
|
00060 <span class="preprocessor"></span><span class="keyword">typedef</span> XID Window64;
|
|
00061 <span class="keyword">typedef</span> XID Drawable64;
|
|
00062 <span class="keyword">typedef</span> XID Font64;
|
|
00063 <span class="keyword">typedef</span> XID Pixmap64;
|
|
00064 <span class="keyword">typedef</span> XID Cursor64;
|
|
00065 <span class="keyword">typedef</span> XID Colormap64;
|
|
00066 <span class="keyword">typedef</span> XID GContext64;
|
|
00067 <span class="keyword">typedef</span> XID KeySym64;
|
|
00068 <span class="preprocessor">#define Window Window64</span>
|
|
00069 <span class="preprocessor"></span><span class="preprocessor">#define Drawable Drawable64</span>
|
|
00070 <span class="preprocessor"></span><span class="preprocessor">#define Font Font64</span>
|
|
00071 <span class="preprocessor"></span><span class="preprocessor">#define Pixmap Pixmap64</span>
|
|
00072 <span class="preprocessor"></span><span class="preprocessor">#define Cursor Cursor64</span>
|
|
00073 <span class="preprocessor"></span><span class="preprocessor">#define Colormap Colormap64</span>
|
|
00074 <span class="preprocessor"></span><span class="preprocessor">#define GContext GContext64</span>
|
|
00075 <span class="preprocessor"></span><span class="preprocessor">#define KeySym KeySym64</span>
|
|
00076 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
|
00077 <span class="preprocessor"></span>
|
|
00078 <span class="preprocessor">#include <X11/Xlib.h></span>
|
|
00079 <span class="preprocessor">#include <X11/Xlibint.h></span> <span class="comment">/* For _XExtension */</span>
|
|
00080 <span class="preprocessor">#include <X11/X.h></span> <span class="comment">/* from glxserver.h */</span>
|
|
00081 <span class="preprocessor">#include <X11/Xmd.h></span> <span class="comment">/* from glxserver.h */</span>
|
|
00082 <span class="preprocessor">#include <X11/Xproto.h></span>
|
|
00083 <span class="preprocessor">#include <X11/Xutil.h></span>
|
|
00084 <span class="preprocessor">#include <X11/Xatom.h></span>
|
|
00085 <span class="preprocessor">#include <X11/cursorfont.h></span>
|
|
00086 <span class="preprocessor">#include <X11/Xmu/SysUtil.h></span> <span class="comment">/* For XmuSnprintf */</span>
|
|
00087
|
|
00088 <span class="preprocessor">#ifdef SHAPE</span>
|
|
00089 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/shape.h></span>
|
|
00090 <span class="preprocessor">#endif</span>
|
|
00091 <span class="preprocessor"></span>
|
|
00092 <span class="preprocessor">#ifdef RENDER</span>
|
|
00093 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/Xrender.h></span>
|
|
00094 <span class="preprocessor">#undef PictFormatType</span>
|
|
00095 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
|
00096 <span class="preprocessor"></span>
|
|
00097 <span class="preprocessor">#ifdef XKB</span>
|
|
00098 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKB.h></span>
|
|
00099 <span class="preprocessor">#include <X11/extensions/XKBstr.h></span>
|
|
00100 <span class="preprocessor">#endif</span>
|
|
00101 <span class="preprocessor"></span>
|
|
00102 <span class="preprocessor">#ifdef XINPUT</span>
|
|
00103 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XI.h></span>
|
|
00104 <span class="preprocessor">#endif</span>
|
|
00105 <span class="preprocessor"></span>
|
|
00106 <span class="comment">/* Always include these, since we query them even if we don't export XINPUT. */</span>
|
|
00107 <span class="preprocessor">#include <X11/extensions/XInput.h></span> <span class="comment">/* For XDevice */</span>
|
|
00108 <span class="preprocessor">#include <X11/extensions/Xext.h></span>
|
|
00109
|
|
00110 <span class="preprocessor">#undef GC</span>
|
|
00111 <span class="preprocessor"></span>
|
|
00112 <span class="preprocessor">#ifdef DMX64</span>
|
|
00113 <span class="preprocessor"></span><span class="preprocessor">#define _XSERVER64</span>
|
|
00114 <span class="preprocessor"></span><span class="preprocessor">#undef XID</span>
|
|
00115 <span class="preprocessor"></span><span class="preprocessor">#undef Mask</span>
|
|
00116 <span class="preprocessor"></span><span class="preprocessor">#undef Atom</span>
|
|
00117 <span class="preprocessor"></span><span class="preprocessor">#undef VisualID</span>
|
|
00118 <span class="preprocessor"></span><span class="preprocessor">#undef Time</span>
|
|
00119 <span class="preprocessor"></span><span class="preprocessor">#undef Window</span>
|
|
00120 <span class="preprocessor"></span><span class="preprocessor">#undef Drawable</span>
|
|
00121 <span class="preprocessor"></span><span class="preprocessor">#undef Font</span>
|
|
00122 <span class="preprocessor"></span><span class="preprocessor">#undef Pixmap</span>
|
|
00123 <span class="preprocessor"></span><span class="preprocessor">#undef Cursor</span>
|
|
00124 <span class="preprocessor"></span><span class="preprocessor">#undef Colormap</span>
|
|
00125 <span class="preprocessor"></span><span class="preprocessor">#undef GContext</span>
|
|
00126 <span class="preprocessor"></span><span class="preprocessor">#undef KeySym</span>
|
|
00127 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
|
00128 <span class="preprocessor"></span>
|
|
00129 <span class="comment">/* These are in exglobals.h, but that conflicts with X11/extensions/XKBsrv.h */</span>
|
|
00130 <span class="keyword">extern</span> <span class="keywordtype">int</span> ProximityIn;
|
|
00131 <span class="keyword">extern</span> <span class="keywordtype">int</span> ProximityOut;
|
|
00132 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceValuator;
|
|
00133 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceMotionNotify;
|
|
00134 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceFocusIn;
|
|
00135 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceFocusOut;
|
|
00136 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceStateNotify;
|
|
00137 <span class="keyword">extern</span> <span class="keywordtype">int</span> DeviceMappingNotify;
|
|
00138 <span class="keyword">extern</span> <span class="keywordtype">int</span> ChangeDeviceNotify;
|
|
00139
|
|
00140 <span class="comment">/* Some protocol gets included last, after undefines. */</span>
|
|
00141 <span class="preprocessor">#include <X11/XKBlib.h></span>
|
|
00142 <span class="preprocessor">#ifdef XKB</span>
|
|
00143 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKBproto.h></span>
|
|
00144 <span class="preprocessor">#define XKB_IN_SERVER</span>
|
|
00145 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XKBsrv.h></span>
|
|
00146 <span class="preprocessor">#undef XPointer</span>
|
|
00147 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
|
00148 <span class="preprocessor"></span><span class="preprocessor">#include <X11/extensions/XIproto.h></span>
|
|
00149
|
|
00150 <span class="preprocessor">#endif</span>
|
|
</pre></div> <hr>
|
|
<address>
|
|
<small>
|
|
Generated June 29, 2004 for <a
|
|
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
|
|
<a href="http://www.doxygen.org/index.html">doxygen</a>
|
|
1.3.4.
|
|
</small>
|
|
</addres>
|
|
</hr>
|
|
</body>
|
|
</html>
|