VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.2/include/extensions/Xag.h@ 6202

Last change on this file since 6202 was 6202, checked in by vboxsync, 17 years ago

re-export x11

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1/* $XFree86: xc/include/extensions/Xag.h,v 1.5 2001/12/17 20:52:24 dawes Exp $ */
2/*
3Copyright 1996, 1998 The Open Group
4
5Permission to use, copy, modify, distribute, and sell this software and its
6documentation for any purpose is hereby granted without fee, provided that
7the above copyright notice appear in all copies and that both that
8copyright notice and this permission notice appear in supporting
9documentation.
10
11The above copyright notice and this permission notice shall be included
12in all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall
23not be used in advertising or otherwise to promote the sale, use or
24other dealings in this Software without prior written authorization
25from The Open Group.
26*/
27/* $Xorg: Xag.h,v 1.5 2001/02/09 02:03:24 xorgcvs Exp $ */
28
29#ifndef _XAG_H_
30#define _XAG_H_
31
32#include <X11/Xfuncproto.h>
33
34#define X_XagQueryVersion 0
35#define X_XagCreate 1
36#define X_XagDestroy 2
37#define X_XagGetAttr 3
38#define X_XagQuery 4
39#define X_XagCreateAssoc 5
40#define X_XagDestroyAssoc 6
41
42#define XagBadAppGroup 0
43#define XagNumberErrors (XagBadAppGroup + 1)
44
45#define XagNsingleScreen 7
46#define XagNdefaultRoot 1
47#define XagNrootVisual 2
48#define XagNdefaultColormap 3
49#define XagNblackPixel 4
50#define XagNwhitePixel 5
51#define XagNappGroupLeader 6
52
53#ifndef _XAG_SERVER_
54
55#include <stdarg.h>
56
57_XFUNCPROTOBEGIN
58
59typedef XID XAppGroup;
60
61Bool XagQueryVersion(
62#if NeedFunctionPrototypes
63 Display* /* dpy */,
64 int* /* major_version */,
65 int* /* minor_version */
66#endif
67);
68
69Status XagCreateEmbeddedApplicationGroup(
70#if NeedFunctionPrototypes
71 Display* /* dpy */,
72 VisualID /* root_visual */,
73 Colormap /* default_colormap */,
74 unsigned long /* black_pixel */,
75 unsigned long /* white_pixel */,
76 XAppGroup* /* app_group_return */
77#endif
78);
79
80Status XagCreateNonembeddedApplicationGroup(
81#if NeedFunctionPrototypes
82 Display* /* dpy */,
83 XAppGroup* /* app_group_return */
84#endif
85);
86
87Status XagDestroyApplicationGroup(
88#if NeedFunctionPrototypes
89 Display* /* dpy */,
90 XAppGroup /* app_group */
91#endif
92);
93
94Status XagGetApplicationGroupAttributes(
95#if NeedVarargsPrototypes
96 Display* /* dpy */,
97 XAppGroup /* app_group */,
98 ...
99#endif
100);
101
102Status XagQueryApplicationGroup(
103#if NeedFunctionPrototypes
104 Display* /* dpy */,
105 XID /* resource_base */,
106 XAppGroup* /* app_group_ret */
107#endif
108);
109
110Status XagCreateAssociation(
111#if NeedFunctionPrototypes
112 Display* /* dpy */,
113 Window* /* window_ret */,
114 void* /* system_window */
115#endif
116);
117
118Status XagDestroyAssociation(
119#if NeedFunctionPrototypes
120 Display* /* dpy */,
121 Window /* window */
122#endif
123);
124
125_XFUNCPROTOEND
126
127#endif /* _XAG_SERVER_ */
128
129#endif /* _XAG_H_ */
130
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