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