source: trunk/third/xmh/tsourceP.h @ 9658

Revision 9658, 2.6 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9657, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2* $XConsortium: tsourceP.h,v 1.1 89/09/01 17:36:46 kit Exp $
3*/
4
5
6/***********************************************************
7Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
9
10                        All Rights Reserved
11
12Permission to use, copy, modify, and distribute this software and its
13documentation for any purpose and without fee is hereby granted,
14provided that the above copyright notice appear in all copies and that
15both that copyright notice and this permission notice appear in
16supporting documentation, and that the names of Digital or MIT not be
17used in advertising or publicity pertaining to distribution of the
18software without specific, written prior permission. 
19
20DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26SOFTWARE.
27
28******************************************************************/
29
30/*
31 * tocSourceP.h - Private definitions for tocSource widget
32 *
33 */
34
35#ifndef _XawtocSourceP_h
36#define _XawtocSourceP_h
37
38/***********************************************************************
39 *
40 * tocSource Widget Private Data
41 *
42 ***********************************************************************/
43
44#include <X11/ObjectP.h>
45#include <X11/Xaw/TextSrcP.h>
46#include "tsource.h"
47#include "tocintrnl.h"
48
49/************************************************************
50 *
51 * New fields for the TocSource widget class record.
52 *
53 ************************************************************/
54
55typedef struct _TocSourceClassPart {
56  char foo;                     /* keep compiler happy. */
57} TocSourceClassPart;
58
59/* Full class record declaration */
60typedef struct _TocSourceClassRec {
61    ObjectClassPart     object_class;
62    TextSrcClassPart    text_source_class;
63    TocSourceClassPart  toc_source_class;
64} TocSourceClassRec;
65
66extern TocSourceClassRec tocSourceClassRec;
67
68/* New fields for the TextSrc widget record */
69typedef struct {
70    /* resources */
71  Toc toc;
72} TocSourcePart;
73
74/****************************************************************
75 *
76 * Full instance record declaration
77 *
78 ****************************************************************/
79
80typedef struct _TocSourceRec {
81  ObjectPart    object;
82  TextSrcPart   text_source;
83  TocSourcePart toc_source;
84} TocSourceRec;
85
86#endif /* _XawTextSrcP_h */
Note: See TracBrowser for help on using the repository browser.