Category reorganization
[openwrt/svn-archive/archive.git] / XOrg / headers / native / src / X11 / VendorP.h
1 /*
2 * $Xorg: VendorP.h,v 1.4 2001/02/09 02:03:59 xorgcvs Exp $
3 * $oHeader: VendorP.h,v 1.2 88/08/18 15:56:48 asente Exp $
4 */
5
6 /***********************************************************
7
8 Copyright 1987, 1988, 1998 The Open Group
9
10 Permission to use, copy, modify, distribute, and sell this software and its
11 documentation for any purpose is hereby granted without fee, provided that
12 the above copyright notice appear in all copies and that both that
13 copyright notice and this permission notice appear in supporting
14 documentation.
15
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
18
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
26 Except as contained in this notice, the name of The Open Group shall not be
27 used in advertising or otherwise to promote the sale, use or other dealings
28 in this Software without prior written authorization from The Open Group.
29
30
31 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
32
33 All Rights Reserved
34
35 Permission to use, copy, modify, and distribute this software and its
36 documentation for any purpose and without fee is hereby granted,
37 provided that the above copyright notice appear in all copies and that
38 both that copyright notice and this permission notice appear in
39 supporting documentation, and that the name of Digital not be
40 used in advertising or publicity pertaining to distribution of the
41 software without specific, written prior permission.
42
43 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
44 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
46 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
47 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
48 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
49 SOFTWARE.
50
51 ******************************************************************/
52
53 /*
54 * VendorP.h - Private definitions for VendorShell widget
55 *
56 * Author: Paul Asente
57 * Digital Equipment Corporation
58 * Western Software Laboratory
59 * Date: Thu Dec 3, 1987
60 */
61
62 /***********************************************************************
63 *
64 * VendorShell Widget Private Data
65 *
66 ***********************************************************************/
67
68 #ifndef _XtVendorPrivate_h
69 #define _XtVendorPrivate_h
70
71 #ifdef __cplusplus
72 extern "C" {
73 #endif
74
75 #include <X11/Vendor.h>
76
77 /* New fields for the VendorShell widget class record */
78
79 typedef struct {
80 XtPointer extension; /* pointer to extension record */
81 } VendorShellClassPart;
82
83 typedef struct _VendorShellClassRec {
84 CoreClassPart core_class;
85 CompositeClassPart composite_class;
86 ShellClassPart shell_class;
87 WMShellClassPart wm_shell_class;
88 VendorShellClassPart vendor_shell_class;
89 } VendorShellClassRec;
90
91 externalref VendorShellClassRec vendorShellClassRec;
92
93 /* New fields for the vendor shell widget. */
94
95 typedef struct {
96 int vendor_specific;
97 } VendorShellPart;
98
99 typedef struct {
100 CorePart core;
101 CompositePart composite;
102 ShellPart shell;
103 WMShellPart wm;
104 VendorShellPart vendor;
105 } VendorShellRec, *VendorShellWidget;
106
107 #ifdef __cplusplus
108 }
109 #endif
110
111 #endif /* _XtVendorPrivate_h */