VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.3/include/extensions/Xcup.h@ 25452

Last change on this file since 25452 was 25452, checked in by vboxsync, 15 years ago

Additions/x11: added include files needed for building vboxmouse with XFree86 4.3 and equivalent X.Org versions

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1/* $Xorg: Xcup.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
2/*
3
4Copyright 1987, 1988, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25
26*/
27
28#ifndef _XCUP_H_
29#define _XCUP_H_
30
31#include <X11/Xfuncproto.h>
32
33#define X_XcupQueryVersion 0
34#define X_XcupGetReservedColormapEntries 1
35#define X_XcupStoreColors 2
36
37#define XcupNumberErrors 0
38
39#ifndef _XCUP_SERVER_
40
41_XFUNCPROTOBEGIN
42
43Bool XcupQueryVersion(
44#if NeedFunctionPrototypes
45 Display* /* dpy */,
46 int* /* major_version */,
47 int* /* minor_version */
48#endif
49);
50
51Status XcupGetReservedColormapEntries(
52#if NeedFunctionPrototypes
53 Display* /* dpy */,
54 int /* screen */,
55 XColor** /* colors_out */,
56 int* /* ncolors */
57#endif
58);
59
60Status XcupStoreColors(
61#if NeedFunctionPrototypes
62 Display* /* dpy */,
63 Colormap /* colormap */,
64 XColor* /* colors */,
65 int /* ncolors */
66#endif
67);
68
69_XFUNCPROTOEND
70
71#endif /* _XCUP_SERVER_ */
72
73#endif /* _XCUP_H_ */
74
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette