Xnest.h revision 05b261ec
1/* 2 3Copyright (c) 1995 X Consortium 4 5Permission is hereby granted, free of charge, to any person obtaining 6a copy of this software and associated documentation files (the 7"Software"), to deal in the Software without restriction, including 8without limitation the rights to use, copy, modify, merge, publish, 9distribute, sublicense, and/or sell copies of the Software, and to 10permit persons to whom the Software is furnished to do so, subject to 11the following conditions: 12 13The above copyright notice and this permission notice shall be included 14in all copies or substantial portions of the Software. 15 16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 17OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 20OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22OTHER DEALINGS IN THE SOFTWARE. 23 24Except as contained in this notice, the name of the X Consortium shall 25not be used in advertising or otherwise to promote the sale, use or 26other dealings in this Software without prior written authorization 27from the X Consortium. 28 29*/ 30 31/* 32** Machines with a 64 bit library interface and a 32 bit server require 33** name changes to protect the guilty. 34*/ 35#ifdef _XSERVER64 36#define _XSERVER64_tmp 37#undef _XSERVER64 38typedef unsigned long XID64; 39typedef unsigned long Mask64; 40typedef unsigned long Atom64; 41typedef unsigned long VisualID64; 42typedef unsigned long Time64; 43#define XID XID64 44#define Mask Mask64 45#define Atom Atom64 46#define VisualID VisualID64 47#define Time Time64 48typedef XID Window64; 49typedef XID Drawable64; 50typedef XID Font64; 51typedef XID Pixmap64; 52typedef XID Cursor64; 53typedef XID Colormap64; 54typedef XID GContext64; 55typedef XID KeySym64; 56#define Window Window64 57#define Drawable Drawable64 58#define Font Font64 59#define Pixmap Pixmap64 60#define Cursor Cursor64 61#define Colormap Colormap64 62#define GContext GContext64 63#define KeySym KeySym64 64#endif /*_XSERVER64*/ 65 66#define GC XlibGC 67#include <X11/Xlib.h> 68#include <X11/Xutil.h> 69#include <X11/extensions/shape.h> 70#undef GC 71 72#ifdef _XSERVER64_tmp 73#define _XSERVER64 74#undef _XSERVER64_tmp 75#undef XID 76#undef Mask 77#undef Atom 78#undef VisualID 79#undef Time 80#undef Window 81#undef Drawable 82#undef Font 83#undef Pixmap 84#undef Cursor 85#undef Colormap 86#undef GContext 87#undef KeySym 88#endif /*_XSERVER64_tmp*/ 89 90 91 92 93 94 95