Xag.h revision ae3b356f74cf4942fdd85f8b0544af62f8161656
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel/*
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselCopyright 1996, 1998 The Open Group
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselPermission to use, copy, modify, distribute, and sell this software and its
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaseldocumentation for any purpose is hereby granted without fee, provided that
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaselthe above copyright notice appear in all copies and that both that
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaselcopyright notice and this permission notice appear in supporting
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaseldocumentation.
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselThe above copyright notice and this permission notice shall be included
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaselin all copies or substantial portions of the Software.
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan MmillerOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan MmillerARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan MmillerOTHER DEALINGS IN THE SOFTWARE.
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmiller
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan MmillerExcept as contained in this notice, the name of The Open Group shall
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmillernot be used in advertising or otherwise to promote the sale, use or
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmillerother dealings in this Software without prior written authorization
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmillerfrom The Open Group.
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmiller*/
194cdefb77cf5217ac87c29c6412db51bd6b8c8dBrendan Mmiller
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel#ifndef _XAG_H_
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel#define _XAG_H_
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller#include <X11/extensions/ag.h>
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller#include <X11/Xfuncproto.h>
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller#include <stdarg.h>
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
48a99a679220c6522d8b11dc1305f7780ae02a8eJake Feasel_XFUNCPROTOBEGIN
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feaseltypedef XID XAppGroup;
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
09f9dc31a81e254d16f843b296b4a594158c8f61Jake FeaselBool XagQueryVersion(
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel Display* /* dpy */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller int* /* major_version */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller int* /* minor_version */
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller);
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan MmillerStatus XagCreateEmbeddedApplicationGroup(
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller Display* /* dpy */,
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller VisualID /* root_visual */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller Colormap /* default_colormap */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller unsigned long /* black_pixel */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller unsigned long /* white_pixel */,
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller XAppGroup* /* app_group_return */
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller);
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan Mmiller
0b90cf39da4c7ba2b843ffd3512d84d009b5dff0Brendan MmillerStatus XagCreateNonembeddedApplicationGroup(
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller Display* /* dpy */,
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller XAppGroup* /* app_group_return */
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller);
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan MmillerStatus XagDestroyApplicationGroup(
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller Display* /* dpy */,
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller XAppGroup /* app_group */
b4260bb3e2303240ecf6c7e4e5639439c3f98889Brendan Mmiller);
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselStatus XagGetApplicationGroupAttributes(
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel Display* /* dpy */,
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel XAppGroup /* app_group */,
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel ...
94dade725a55de70aec65a84bc4949882e5277b1Jake Feasel);
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
0c3f79f75f596c8d6700b2de830000f754bb28a9Phill CunningtonStatus XagQueryApplicationGroup(
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel Display* /* dpy */,
32740a05f87c7f3ebb19181cc4b02d228444850cBrendan Mmiller XID /* resource_base */,
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel XAppGroup* /* app_group_ret */
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel);
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselStatus XagCreateAssociation(
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel Display* /* dpy */,
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel Window* /* window_ret */,
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel void* /* system_window */
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel);
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake Feasel
56cbc2397b26fdd0e57ceb78657514d88f260e80Jake FeaselStatus XagDestroyAssociation(
32740a05f87c7f3ebb19181cc4b02d228444850cBrendan Mmiller Display* /* dpy */,
Window /* window */
);
_XFUNCPROTOEND
#endif /* _XAG_H_ */