CloseHook.h

Go to the documentation of this file.
00001 /* $Xorg: CloseHook.h,v 1.5 2001/02/09 02:03:51 xorgcvs Exp $ */
00002 
00003 /* 
00004 
00005 Copyright 1988, 1998  The Open Group
00006 
00007 Permission to use, copy, modify, distribute, and sell this software and its
00008 documentation for any purpose is hereby granted without fee, provided that
00009 the above copyright notice appear in all copies and that both that
00010 copyright notice and this permission notice appear in supporting
00011 documentation.
00012 
00013 The above copyright notice and this permission notice shall be included in
00014 all copies or substantial portions of the Software.
00015 
00016 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00017 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00018 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00019 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00020 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00021 CONNECTION 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 /* $XFree86: xc/lib/Xmu/CloseHook.h,v 1.6 2001/01/17 19:42:53 dawes Exp $ */
00029 
00030 /*
00031  * The interfaces described by this header file are for miscellaneous utilities
00032  * and are not part of the Xlib standard.
00033  */
00034 
00035 #ifndef _XMU_CLOSEHOOK_H_
00036 #define _XMU_CLOSEHOOK_H_
00037 
00038 #include <X11/Xlib.h>
00039 #include <X11/Xfuncproto.h>
00040 #include <X11/Xlibint.h>
00041 
00042 typedef XPointer CloseHook;
00043 
00044 typedef int (*XmuCloseHookProc)(Display *dpy, XPointer data);
00045 
00046 _XFUNCPROTOBEGIN
00047 
00048 CloseHook XmuAddCloseDisplayHook
00049 (
00050  Display                *dpy,
00051  XmuCloseHookProc       proc,
00052  XPointer               arg
00053  );
00054 
00055 Bool XmuLookupCloseDisplayHook
00056 (
00057  Display                *dpy,
00058  CloseHook              handle,
00059  XmuCloseHookProc       proc,
00060  XPointer               arg
00061  );
00062 
00063 Bool XmuRemoveCloseDisplayHook
00064 (
00065  Display                *dpy,
00066  CloseHook              handle,
00067  XmuCloseHookProc       proc,
00068  XPointer               arg
00069  );
00070 
00071 _XFUNCPROTOEND
00072 
00073 #endif /* _XMU_CLOSEHOOK_H_ */

Generated on Sun Mar 4 15:03:56 2007 for Scilab [trunk] by  doxygen 1.5.1