perl/Module-Pluggable: update to 6.3
[oi-userland.git] / components / x11 / libXaw5 / src / AsciiTextP.h
blobcc857db39520d49673dc0b16ca7597fd30b999b2
1 /*
2 * $XConsortium: AsciiTextP.h,v 1.17 94/04/17 20:11:52 kaleb Exp $
3 */
5 /***********************************************************
7 Copyright (c) 1987, 1988, 1994 X Consortium
9 Permission is hereby granted, free of charge, to any person obtaining a copy
10 of this software and associated documentation files (the "Software"), to deal
11 in the Software without restriction, including without limitation the rights
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 copies of the Software, and to permit persons to whom the Software is
14 furnished to do so, subject to the following conditions:
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
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 X CONSORTIUM 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.
26 Except as contained in this notice, the name of the X Consortium 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 X Consortium.
31 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
33 All Rights Reserved
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.
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.
51 ******************************************************************/
53 /***********************************************************************
55 * AsciiText Widget
57 ***********************************************************************/
60 * AsciiText.c - Private header file for AsciiText Widget.
62 * This Widget is intended to be used as a simple front end to the
63 * text widget with an ascii source and ascii sink attached to it.
65 * Date: June 29, 1989
67 * By: Chris D. Peterson
68 * MIT X Consortium
69 * kit@expo.lcs.mit.edu
72 #ifndef _AsciiTextP_h
73 #define _AsciiTextP_h
75 #include <X11/Xaw/TextP.h>
76 #include <X11/Xaw/AsciiText.h>
77 #include <X11/Xaw/AsciiSrc.h>
78 #include <X11/Xaw/MultiSrc.h>
80 typedef struct {int empty;} AsciiClassPart;
82 typedef struct _AsciiTextClassRec {
83 CoreClassPart core_class;
84 SimpleClassPart simple_class;
85 TextClassPart text_class;
86 AsciiClassPart ascii_class;
87 } AsciiTextClassRec;
89 extern AsciiTextClassRec asciiTextClassRec;
91 typedef struct { char foo; /* keep compiler happy. */ } AsciiPart;
93 typedef struct _AsciiRec {
94 CorePart core;
95 SimplePart simple;
96 TextPart text;
97 AsciiPart ascii;
98 } AsciiRec;
100 /************************************************************
102 * Ascii String Emulation widget.
104 ************************************************************/
106 #ifdef ASCII_STRING
108 typedef struct {int empty;} AsciiStringClassPart;
110 typedef struct _AsciiStringClassRec {
111 CoreClassPart core_class;
112 SimpleClassPart simple_class;
113 TextClassPart text_class;
114 AsciiClassPart ascii_class;
115 AsciiStringClassPart string_class;
116 } AsciiStringClassRec;
118 extern AsciiStringClassRec asciiStringClassRec;
120 typedef struct { char foo; /* keep compiler happy. */ } AsciiStringPart;
122 typedef struct _AsciiStringRec {
123 CorePart core;
124 SimplePart simple;
125 TextPart text;
126 AsciiPart ascii;
127 AsciiStringPart ascii_str;
128 } AsciiStringRec;
130 #endif /* ASCII_STRING */
132 #ifdef ASCII_DISK
134 /************************************************************
136 * Ascii Disk Emulation widget.
138 ************************************************************/
140 typedef struct {int empty;} AsciiDiskClassPart;
142 typedef struct _AsciiDiskClassRec {
143 CoreClassPart core_class;
144 SimpleClassPart simple_class;
145 TextClassPart text_class;
146 AsciiClassPart ascii_class;
147 AsciiDiskClassPart disk_class;
148 } AsciiDiskClassRec;
150 extern AsciiDiskClassRec asciiDiskClassRec;
152 typedef struct { char foo; /* keep compiler happy. */ } AsciiDiskPart;
154 typedef struct _AsciiDiskRec {
155 CorePart core;
156 SimplePart simple;
157 TextPart text;
158 AsciiPart ascii;
159 AsciiDiskPart ascii_disk;
160 } AsciiDiskRec;
161 #endif /* ASCII_DISK */
163 #endif /* _AsciiTextP_h */