f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright (c) 1995 X Consortium
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright 2004 Red Hat Inc., Durham, North Carolina.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * All Rights Reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * a copy of this software and associated documentation files (the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * "Software"), to deal in the Software without restriction, including
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * without limitation on the rights to use, copy, modify, merge,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and to permit persons to whom the Software is furnished to do so,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice and this permission notice shall be
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * included in all copies or substantial portions of the Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OTHER DEALINGS IN THE SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Except as contained in this notice, the name of the X Consortium
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * shall not be used in advertising or otherwise to promote the sale,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * use or other dealings in this Software without prior written
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * authorization from the X Consortium.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/** \file
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * This file includes all client-side include files with proper wrapping.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef _DMXCLIENT_H_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define _DMXCLIENT_H_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define GC XlibGC
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifdef _XSERVER64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define DMX64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef _XSERVER64
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef unsigned long XID64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef unsigned long Mask64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef unsigned long Atom64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef unsigned long VisualID64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef unsigned long Time64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define XID XID64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Mask Mask64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Atom Atom64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define VisualID VisualID64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Time Time64
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Window64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Drawable64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Font64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Pixmap64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Cursor64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID Colormap64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID GContext64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef XID KeySym64;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Window Window64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Drawable Drawable64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Font Font64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Pixmap Pixmap64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Cursor Cursor64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define Colormap Colormap64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define GContext GContext64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define KeySym KeySym64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xlib.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xlibint.h> /* For _XExtension */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/X.h> /* from glxserver.h */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xmd.h> /* from glxserver.h */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xproto.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xutil.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xatom.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/cursorfont.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/Xmu/SysUtil.h> /* For XmuSnprintf */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/shape.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/Xrender.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef PictFormatType
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/XKB.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include "xkbstr.h"
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/XI.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/* Always include these, since we query them even if we don't export XINPUT. */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/XInput.h> /* For XDevice */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/Xext.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef GC
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifdef DMX64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define _XSERVER64
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef XID
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Mask
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Atom
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef VisualID
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Time
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Window
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Drawable
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Font
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Pixmap
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Cursor
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef Colormap
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef GContext
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef KeySym
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/* These are in exglobals.h, but that conflicts with xkbsrv.h */
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int ProximityIn;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int ProximityOut;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceValuator;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceMotionNotify;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceFocusIn;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceFocusOut;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceStateNotify;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int DeviceMappingNotify;
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int ChangeDeviceNotify;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/* Some protocol gets included last, after undefines. */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/XKBlib.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/XKBproto.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include "xkbstr.h"
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#undef XPointer
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <X11/extensions/XIproto.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif