Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:28

0001 /*
0002 
0003 Copyright 1994, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 */
0026 
0027 #ifndef _XtHookObjI_h
0028 #define _XtHookObjI_h
0029 
0030 _XFUNCPROTOBEGIN
0031 
0032 /* This object is implementation-dependent and private to the library. */
0033 
0034 typedef struct _HookObjRec *HookObject;
0035 typedef struct _HookObjClassRec *HookObjectClass;
0036 
0037 externalref WidgetClass hookObjectClass;
0038 
0039 typedef struct _HookObjPart {
0040     /* resources */
0041     XtCallbackList createhook_callbacks;
0042     XtCallbackList changehook_callbacks;
0043     XtCallbackList confighook_callbacks;
0044     XtCallbackList geometryhook_callbacks;
0045     XtCallbackList destroyhook_callbacks;
0046     WidgetList shells;
0047     Cardinal num_shells;
0048     /* private data */
0049     Cardinal max_shells;
0050     Screen* screen;
0051 }HookObjPart;
0052 
0053 typedef struct _HookObjRec {
0054     ObjectPart object;
0055     HookObjPart hooks;
0056 } HookObjRec;
0057 
0058 typedef struct _HookObjClassPart {
0059     int unused;
0060 } HookObjClassPart;
0061 
0062 typedef struct _HookObjClassRec {
0063     ObjectClassPart object_class;
0064     HookObjClassPart hook_class;
0065 } HookObjClassRec;
0066 
0067 externalref HookObjClassRec hookObjClassRec;
0068 
0069 _XFUNCPROTOEND
0070 
0071 #endif /* ifndef _Xt_HookObjI_h */
0072 
0073