From ac0dfab3fe1ae9c9633696825636a4bcfa14dfd6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 25 Jun 2009 11:14:14 +1000 Subject: Remove Xext.h and Xge.h - pure library headers. --- Makefile.am | 2 -- Xext.h | 55 ------------------------------------------------------- Xge.h | 57 --------------------------------------------------------- 3 files changed, 114 deletions(-) delete mode 100644 Xext.h delete mode 100644 Xge.h diff --git a/Makefile.am b/Makefile.am index d0f50e7..ed58f0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,6 @@ xext_HEADERS = \ extutil.h \ ge.h \ geproto.h \ - Xge.h \ lbx.h \ lbxproto.h \ mitmisc.h \ @@ -28,7 +27,6 @@ xext_HEADERS = \ dbeproto.h \ EVI.h \ EVIproto.h \ - Xext.h \ xtestext1.h \ xtest.h \ xtestproto.h diff --git a/Xext.h b/Xext.h deleted file mode 100644 index 92dc423..0000000 --- a/Xext.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * $Xorg: Xext.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ - * -Copyright 1989, 1998 The Open Group - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation. - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of The Open Group shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from The Open Group. - */ -/* $XFree86: xc/include/extensions/Xext.h,v 1.4 2001/12/14 19:53:28 dawes Exp $ */ - -#ifndef _XEXT_H_ -#define _XEXT_H_ - -#include - -_XFUNCPROTOBEGIN - -typedef int (*XextErrorHandler) ( - Display * /* dpy */, - _Xconst char* /* ext_name */, - _Xconst char* /* reason */ -); - -extern XextErrorHandler XSetExtensionErrorHandler( - XextErrorHandler /* handler */ -); - -extern int XMissingExtension( - Display* /* dpy */, - _Xconst char* /* ext_name */ -); - -_XFUNCPROTOEND - -#define X_EXTENSION_UNKNOWN "unknown" -#define X_EXTENSION_MISSING "missing" - -#endif /* _XEXT_H_ */ diff --git a/Xge.h b/Xge.h deleted file mode 100644 index 51382ff..0000000 --- a/Xge.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright © 2007-2008 Peter Hutterer - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - * Authors: Peter Hutterer, University of South Australia, NICTA - * - */ - - -/* XGE Client interfaces */ - -#ifndef _XGE_H_ -#define _XGE_H_ - -#include -#include - -_XFUNCPROTOBEGIN - -/** - * Generic Event mask. - * To be used whenever a list of masks per extension has to be provided. - * - * But, don't actually use the CARD{8,16,32} types. We can't get them them - * defined here without polluting the namespace. - */ -typedef struct { - unsigned char extension; - unsigned char pad0; - unsigned short pad1; - unsigned int evmask; -} XGenericEventMask; - -Bool XGEQueryExtension(Display* dpy, int *event_basep, int *err_basep); -Bool XGEQueryVersion(Display* dpy, int *major, int* minor); - -_XFUNCPROTOEND - -#endif /* _XGE_H_ */ -- cgit v1.2.1