summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/video/Xext/extensions/Xext.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-01-21 15:18:31 -0500
committerFranklin Wei <git@fwei.tk>2017-12-23 21:01:26 -0500
commita855d6202536ff28e5aae4f22a0f31d8f5b325d0 (patch)
tree8c75f224dd64ed360505afa8843d016b0d75000b /apps/plugins/sdl/src/video/Xext/extensions/Xext.h
parent01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b (diff)
downloadrockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.tar.gz
rockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.zip
Port of Duke Nukem 3D
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
Diffstat (limited to 'apps/plugins/sdl/src/video/Xext/extensions/Xext.h')
-rw-r--r--apps/plugins/sdl/src/video/Xext/extensions/Xext.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/apps/plugins/sdl/src/video/Xext/extensions/Xext.h b/apps/plugins/sdl/src/video/Xext/extensions/Xext.h
new file mode 100644
index 0000000000..9edf3194b4
--- /dev/null
+++ b/apps/plugins/sdl/src/video/Xext/extensions/Xext.h
@@ -0,0 +1,50 @@
1/*
2Copyright 1989, 1998 The Open Group
3
4Permission to use, copy, modify, distribute, and sell this software and its
5documentation for any purpose is hereby granted without fee, provided that
6the above copyright notice appear in all copies and that both that
7copyright notice and this permission notice appear in supporting
8documentation.
9
10The above copyright notice and this permission notice shall be included in
11all copies or substantial portions of the Software.
12
13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
17AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
20Except as contained in this notice, the name of The Open Group shall not be
21used in advertising or otherwise to promote the sale, use or other dealings
22in this Software without prior written authorization from The Open Group.
23 */
24/* $XFree86: xc/include/extensions/Xext.h,v 1.7 2005/01/27 03:03:09 dawes Exp $ */
25
26#ifndef _XEXT_H_
27#define _XEXT_H_
28
29#include <X11/Xfuncproto.h>
30
31_XFUNCPROTOBEGIN
32
33typedef int (*XExtensionErrorHandler)(Display *, _Xconst char *,
34 _Xconst char *);
35
36extern XExtensionErrorHandler XSetExtensionErrorHandler(
37 XExtensionErrorHandler handler
38);
39
40extern int XMissingExtension(
41 Display* /* dpy */,
42 _Xconst char* /* ext_name */
43);
44
45_XFUNCPROTOEND
46
47#define X_EXTENSION_UNKNOWN "unknown"
48#define X_EXTENSION_MISSING "missing"
49
50#endif /* _XEXT_H_ */