rebuild geeqie
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1AsciiTextP.h
blob101a7eea6e18d1561c999c3fa85a303f892ec094
1 /*
2 * $XConsortium: AsciiTextP.h,v 1.15 89/07/17 18:09:37 kit Exp $
3 */
5 /***********************************************************
6 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
7 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
9 All Rights Reserved
11 Permission to use, copy, modify, and distribute this software and its
12 documentation for any purpose and without fee is hereby granted,
13 provided that the above copyright notice appear in all copies and that
14 both that copyright notice and this permission notice appear in
15 supporting documentation, and that the names of Digital or MIT not be
16 used in advertising or publicity pertaining to distribution of the
17 software without specific, written prior permission.
19 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
20 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
21 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
22 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
23 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
24 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
25 SOFTWARE.
27 ******************************************************************/
29 /***********************************************************************
31 * AsciiText Widget
33 ***********************************************************************/
36 * AsciiText.c - Private header file for AsciiText Widget.
38 * This Widget is intended to be used as a simple front end to the
39 * text widget with an ascii source and ascii sink attached to it.
41 * Date: June 29, 1989
43 * By: Chris D. Peterson
44 * MIT X Consortium
45 * kit@expo.lcs.mit.edu
48 #ifndef _AsciiTextP_h
49 #define _AsciiTextP_h
51 #include <./Xaw3_1TextP.h>
52 #include <./Xaw3_1AsciiSrc.h> /* no need to get private header. */
53 #include <./Xaw3_1AsciiText.h>
55 typedef struct {int empty;} AsciiClassPart;
57 typedef struct _AsciiTextClassRec {
58 CoreClassPart core_class;
59 SimpleClassPart simple_class;
60 TextClassPart text_class;
61 AsciiClassPart ascii_class;
62 } AsciiTextClassRec;
64 extern AsciiTextClassRec asciiTextClassRec;
66 typedef struct { char foo; /* keep compiler happy. */ } AsciiPart;
68 typedef struct _AsciiRec {
69 CorePart core;
70 SimplePart simple;
71 TextPart text;
72 AsciiPart ascii;
73 } AsciiRec;
75 /************************************************************
77 * Ascii String Emulation widget.
79 ************************************************************/
81 #ifdef ASCII_STRING
83 typedef struct {int empty;} AsciiStringClassPart;
85 typedef struct _AsciiStringClassRec {
86 CoreClassPart core_class;
87 SimpleClassPart simple_class;
88 TextClassPart text_class;
89 AsciiClassPart ascii_class;
90 AsciiStringClassPart string_class;
91 } AsciiStringClassRec;
93 extern AsciiStringClassRec asciiStringClassRec;
95 typedef struct { char foo; /* keep compiler happy. */ } AsciiStringPart;
97 typedef struct _AsciiStringRec {
98 CorePart core;
99 SimplePart simple;
100 TextPart text;
101 AsciiPart ascii;
102 AsciiStringPart ascii_str;
103 } AsciiStringRec;
105 #endif /* ASCII_STRING */
107 #ifdef ASCII_DISK
109 /************************************************************
111 * Ascii Disk Emulation widget.
113 ************************************************************/
115 typedef struct {int empty;} AsciiDiskClassPart;
117 typedef struct _AsciiDiskClassRec {
118 CoreClassPart core_class;
119 SimpleClassPart simple_class;
120 TextClassPart text_class;
121 AsciiClassPart ascii_class;
122 AsciiDiskClassPart disk_class;
123 } AsciiDiskClassRec;
125 extern AsciiDiskClassRec asciiDiskClassRec;
127 typedef struct { char foo; /* keep compiler happy. */ } AsciiDiskPart;
129 typedef struct _AsciiDiskRec {
130 CorePart core;
131 SimplePart simple;
132 TextPart text;
133 AsciiPart ascii;
134 AsciiDiskPart ascii_disk;
135 } AsciiDiskRec;
136 #endif /* ASCII_DISK */
138 #endif /* _AsciiTextP_h */