2 * $XConsortium: AsciiTextP.h,v 1.15 89/07/17 18:09:37 kit Exp $
5 /***********************************************************
6 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
7 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
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
27 ******************************************************************/
29 /***********************************************************************
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.
43 * By: Chris D. Peterson
45 * kit@expo.lcs.mit.edu
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
;
64 extern AsciiTextClassRec asciiTextClassRec
;
66 typedef struct { char foo
; /* keep compiler happy. */ } AsciiPart
;
68 typedef struct _AsciiRec
{
75 /************************************************************
77 * Ascii String Emulation widget.
79 ************************************************************/
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
{
102 AsciiStringPart ascii_str
;
105 #endif /* ASCII_STRING */
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
;
125 extern AsciiDiskClassRec asciiDiskClassRec
;
127 typedef struct { char foo
; /* keep compiler happy. */ } AsciiDiskPart
;
129 typedef struct _AsciiDiskRec
{
134 AsciiDiskPart ascii_disk
;
136 #endif /* ASCII_DISK */
138 #endif /* _AsciiTextP_h */