VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/dmxclient.h@ 77138

Last change on this file since 77138 was 49174, checked in by vboxsync, 11 years ago

Additions/x11: replace header files for X.Org Server 1.6.0 with those for version 1.6.5 due to an ABI bump in-between.

  • Property svn:eol-style set to native
File size: 4.0 KB
Line 
1/*
2 * Copyright (c) 1995 X Consortium
3 * Copyright 2004 Red Hat Inc., Durham, North Carolina.
4 *
5 * All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining
8 * a copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation on the rights to use, copy, modify, merge,
11 * publish, distribute, sublicense, and/or sell copies of the Software,
12 * and to permit persons to whom the Software is furnished to do so,
13 * subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be
16 * included in all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,
22 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25 * OTHER DEALINGS IN THE SOFTWARE.
26 *
27 * Except as contained in this notice, the name of the X Consortium
28 * shall not be used in advertising or otherwise to promote the sale,
29 * use or other dealings in this Software without prior written
30 * authorization from the X Consortium.
31 */
32
33/*
34 * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com>
35 */
36
37/** \file
38 * This file includes all client-side include files with proper wrapping.
39 */
40
41#ifndef _DMXCLIENT_H_
42#define _DMXCLIENT_H_
43
44#define GC XlibGC
45
46#ifdef _XSERVER64
47#define DMX64
48#undef _XSERVER64
49typedef unsigned long XID64;
50typedef unsigned long Mask64;
51typedef unsigned long Atom64;
52typedef unsigned long VisualID64;
53typedef unsigned long Time64;
54#define XID XID64
55#define Mask Mask64
56#define Atom Atom64
57#define VisualID VisualID64
58#define Time Time64
59typedef XID Window64;
60typedef XID Drawable64;
61typedef XID Font64;
62typedef XID Pixmap64;
63typedef XID Cursor64;
64typedef XID Colormap64;
65typedef XID GContext64;
66typedef XID KeySym64;
67#define Window Window64
68#define Drawable Drawable64
69#define Font Font64
70#define Pixmap Pixmap64
71#define Cursor Cursor64
72#define Colormap Colormap64
73#define GContext GContext64
74#define KeySym KeySym64
75#endif
76
77#include <X11/Xlib.h>
78#include <X11/Xlibint.h> /* For _XExtension */
79#include <X11/X.h> /* from glxserver.h */
80#include <X11/Xmd.h> /* from glxserver.h */
81#include <X11/Xproto.h>
82#include <X11/Xutil.h>
83#include <X11/Xatom.h>
84#include <X11/cursorfont.h>
85#include <X11/Xmu/SysUtil.h> /* For XmuSnprintf */
86
87#include <X11/extensions/shape.h>
88
89#ifdef RENDER
90#include <X11/extensions/Xrender.h>
91#undef PictFormatType
92#endif
93
94#ifdef XKB
95#include <X11/extensions/XKB.h>
96#include <X11/extensions/XKBstr.h>
97#endif
98
99#include <X11/extensions/XI.h>
100
101/* Always include these, since we query them even if we don't export XINPUT. */
102#include <X11/extensions/XInput.h> /* For XDevice */
103#include <X11/extensions/Xext.h>
104
105#undef GC
106
107#ifdef DMX64
108#define _XSERVER64
109#undef XID
110#undef Mask
111#undef Atom
112#undef VisualID
113#undef Time
114#undef Window
115#undef Drawable
116#undef Font
117#undef Pixmap
118#undef Cursor
119#undef Colormap
120#undef GContext
121#undef KeySym
122#endif
123
124/* These are in exglobals.h, but that conflicts with xkbsrv.h */
125extern int ProximityIn;
126extern int ProximityOut;
127extern int DeviceValuator;
128extern int DeviceMotionNotify;
129extern int DeviceFocusIn;
130extern int DeviceFocusOut;
131extern int DeviceStateNotify;
132extern int DeviceMappingNotify;
133extern int ChangeDeviceNotify;
134
135/* Some protocol gets included last, after undefines. */
136#include <X11/XKBlib.h>
137#ifdef XKB
138#include <X11/extensions/XKBproto.h>
139#ifndef XKB_IN_SERVER
140#define XKB_IN_SERVER
141#endif
142#include <xkbsrv.h>
143#undef XPointer
144#endif
145#include <X11/extensions/XIproto.h>
146
147#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette