xref: /386bsd/usr/X386/include/X11/Xaw/PortholeP.h (revision a2142627)
1 /*
2  * $XConsortium: PortholeP.h,v 1.1 90/02/28 18:07:32 jim Exp $
3  *
4  * Copyright 1990 Massachusetts Institute of Technology
5  *
6  * Permission to use, copy, modify, distribute, and sell this software and its
7  * documentation for any purpose is hereby granted without fee, provided that
8  * the above copyright notice appear in all copies and that both that
9  * copyright notice and this permission notice appear in supporting
10  * documentation, and that the name of M.I.T. not be used in advertising or
11  * publicity pertaining to distribution of the software without specific,
12  * written prior permission.  M.I.T. makes no representations about the
13  * suitability of this software for any purpose.  It is provided "as is"
14  * without express or implied warranty.
15  *
16  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
18  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22  *
23  * Author:  Jim Fulton, MIT X Consortium
24  */
25 
26 #ifndef _XawPortholeP_h
27 #define _XawPortholeP_h
28 
29 #include <X11/CompositeP.h>
30 #include <X11/Xaw/Porthole.h>
31 
32 
33 typedef struct {			/* new fields in widget class */
34     int dummy;
35 } PortholeClassPart;
36 
37 typedef struct _PortholeClassRec {	/* Porthole widget class */
38     CoreClassPart core_class;
39     CompositeClassPart composite_class;
40     PortholeClassPart porthole_class;
41 } PortholeClassRec;
42 
43 
44 typedef struct {			/* new fields in widget */
45     /* resources... */
46     XtCallbackList report_callbacks;	/* callback/Callback */
47     /* private data... */
48 } PortholePart;
49 
50 typedef struct _PortholeRec {
51     CorePart core;
52     CompositePart composite;
53     PortholePart porthole;
54 } PortholeRec;
55 
56 
57 /*
58  * external declarations
59  */
60 extern PortholeClassRec portholeClassRec;
61 
62 
63 #endif /* _XawPortholeP_h */
64