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