master
ブランチ master
ShaderPlayground / deps / xlibre / include / X11 / extensions / XLbx.h
1.6 KB、50行 生 Blame 履歴
1/*
2 * Copyright 1992 Network Computing Devices
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation, and that the name of NCD. not be used in advertising or
9 * publicity pertaining to distribution of the software without specific,
10 * written prior permission. NCD. makes no representations about the
11 * suitability of this software for any purpose. It is provided "as is"
12 * without express or implied warranty.
13 *
14 * NCD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCD.
16 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
18 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
19 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 *
21 */
22
23#ifndef _XLBX_H_
24#define _XLBX_H_
25
26#include <X11/Xfuncproto.h>
27#include <X11/Xdefs.h>
28#include <X11/Xlib.h>
29#include <X11/extensions/lbx.h>
30
31_XFUNCPROTOBEGIN
32
33Bool XLbxQueryExtension(
34 Display* /* dpy */,
35 int* /* requestp */,
36 int* /* event_basep */,
37 int* /* error_basep */
38);
39
40Bool XLbxQueryVersion(
41 Display* /* dpy */,
42 int* /* majorVersion */,
43 int* /* minorVersion */
44);
45
46int XLbxGetEventBase(Display *dpy);
47
48_XFUNCPROTOEND
49
50#endif