[PATCH 09/18] Remove Xext.h and Xge.h - pure library headers.

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 24 22:26:33 PDT 2009


---
 Makefile.am |    2 --
 Xext.h      |   55 -------------------------------------------------------
 Xge.h       |   57 ---------------------------------------------------------
 3 files changed, 0 insertions(+), 114 deletions(-)
 delete mode 100644 Xext.h
 delete mode 100644 Xge.h

diff --git a/Makefile.am b/Makefile.am
index c181f0d..8a31eaf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,6 @@ xext_HEADERS = \
 	extutil.h \
         ge.h \
         geproto.h \
-        Xge.h \
 	lbxbuf.h \
 	lbxbufstr.h \
 	lbxdeltastr.h \
@@ -34,7 +33,6 @@ xext_HEADERS = \
 	Xdbeproto.h \
 	XEVIconst.h \
 	XEVIstr.h \
-	Xext.h \
 	xtestext1.h \
 	xtestconst.h \
 	xteststr.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 <X11/Xfuncproto.h>
-
-_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 <X11/Xlib.h>
-#include <X11/Xfuncproto.h>
-
-_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_ */
-- 
1.6.3.rc1.2.g0164.dirty



More information about the xorg-devel mailing list