Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:31

0001 /*
0002 Copyright 1996, 1998  The Open Group
0003 
0004 Permission to use, copy, modify, distribute, and sell this software and its
0005 documentation for any purpose is hereby granted without fee, provided that
0006 the above copyright notice appear in all copies and that both that
0007 copyright notice and this permission notice appear in supporting
0008 documentation.
0009 
0010 The above copyright notice and this permission notice shall be included
0011 in all copies or substantial portions of the Software.
0012 
0013 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
0014 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0015 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0016 IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
0017 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0018 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0019 OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall
0022 not be used in advertising or otherwise to promote the sale, use or
0023 other dealings in this Software without prior written authorization
0024 from The Open Group.
0025 */
0026 
0027 #ifndef _XAG_H_
0028 #define _XAG_H_
0029 
0030 #include <X11/extensions/ag.h>
0031 #include <X11/Xfuncproto.h>
0032 
0033 #include <stdarg.h>
0034 
0035 _XFUNCPROTOBEGIN
0036 
0037 typedef XID XAppGroup;
0038 
0039 Bool XagQueryVersion(
0040     Display*            /* dpy */,
0041     int*            /* major_version */,
0042     int*            /* minor_version */
0043 );
0044 
0045 Status XagCreateEmbeddedApplicationGroup(
0046     Display*            /* dpy */,
0047     VisualID            /* root_visual */,
0048     Colormap            /* default_colormap */,
0049     unsigned long       /* black_pixel */,
0050     unsigned long       /* white_pixel */,
0051     XAppGroup*          /* app_group_return */
0052 );
0053 
0054 Status XagCreateNonembeddedApplicationGroup(
0055     Display*            /* dpy */,
0056     XAppGroup*          /* app_group_return */
0057 );
0058 
0059 Status XagDestroyApplicationGroup(
0060     Display*            /* dpy */,
0061     XAppGroup           /* app_group */
0062 );
0063 
0064 Status XagGetApplicationGroupAttributes(
0065     Display*            /* dpy */,
0066     XAppGroup           /* app_group */,
0067     ...
0068 );
0069 
0070 Status XagQueryApplicationGroup(
0071     Display*            /* dpy */,
0072     XID             /* resource_base */,
0073     XAppGroup*          /* app_group_ret */
0074 );
0075 
0076 Status XagCreateAssociation(
0077     Display*            /* dpy */,
0078     Window*         /* window_ret */,
0079     void*           /* system_window */
0080 );
0081 
0082 Status XagDestroyAssociation(
0083     Display*            /* dpy */,
0084     Window          /* window */
0085 );
0086 
0087 _XFUNCPROTOEND
0088 
0089 #endif /* _XAG_H_ */
0090