kasyncprop.h

00001 /*
00002  * Copyright (C) 1986, 1998  The Open Group
00003  * Copyright (C) 2002 Havoc Pennington
00004  * Copyright (C) 2006 Lubos Lunak
00005  *
00006  * Permission to use, copy, modify, distribute, and sell this software
00007  * and its documentation for any purpose is hereby granted without
00008  * fee, provided that the above copyright notice appear in all copies
00009  * and that both that copyright notice and this permission notice
00010  * appear in supporting documentation.
00011  *
00012  * The above copyright notice and this permission notice shall be
00013  * included in all copies or substantial portions of the Software.
00014  *
00015  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00016  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00017  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00018  * NONINFRINGEMENT.  IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR
00019  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
00020  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
00021  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00022  *
00023  * Except as contained in this notice, the name of The Open Group shall not be
00024  * used in advertising or otherwise to promote the sale, use or other dealings
00025  * in this Software without prior written authorization from The Open Group.
00026  */
00027 
00028 #include <X11/Xlib.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00034 void KXAskWindowProperty( Display *dpy, Window w, Atom property, long offset,
00035     long length, Bool del, Atom req_type );
00036 
00037 int KXReceiveWindowProperty( Display *dpy, Window w, Atom property, long offset,
00038     long length, Bool del, Atom req_type, Atom *actual_type, int *actual_format,
00039     unsigned long *nitems, unsigned long *bytesafter, unsigned char **prop );
00040 
00041 void KXPropertyCleanup( Display* dpy );
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys