1/*
2* $XConsortium: tsourceP.h,v 1.2 94/04/17 20:24:05 kit Exp $
3*/
4
5
6/***********************************************************
7
8Copyright (c) 1987, 1988  X Consortium
9
10Permission is hereby granted, free of charge, to any person obtaining a copy
11of this software and associated documentation files (the "Software"), to deal
12in the Software without restriction, including without limitation the rights
13to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14copies of the Software, and to permit persons to whom the Software is
15furnished to do so, subject to the following conditions:
16
17The above copyright notice and this permission notice shall be included in
18all copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
23X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
24AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
27Except as contained in this notice, the name of the X Consortium shall not be
28used in advertising or otherwise to promote the sale, use or other dealings
29in this Software without prior written authorization from the X Consortium.
30
31
32Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
33
34                        All Rights Reserved
35
36Permission to use, copy, modify, and distribute this software and its
37documentation for any purpose and without fee is hereby granted,
38provided that the above copyright notice appear in all copies and that
39both that copyright notice and this permission notice appear in
40supporting documentation, and that the name of Digital not be
41used in advertising or publicity pertaining to distribution of the
42software without specific, written prior permission.
43
44DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
46DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
47ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
48WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
49ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50SOFTWARE.
51
52******************************************************************/
53
54/*
55 * tocSourceP.h - Private definitions for tocSource widget
56 *
57 */
58
59#ifndef _XawtocSourceP_h
60#define _XawtocSourceP_h
61
62/***********************************************************************
63 *
64 * tocSource Widget Private Data
65 *
66 ***********************************************************************/
67
68#include <X11/ObjectP.h>
69#include <X11/Xaw/TextSrcP.h>
70#include "tsource.h"
71#include "tocintrnl.h"
72
73/************************************************************
74 *
75 * New fields for the TocSource widget class record.
76 *
77 ************************************************************/
78
79typedef struct _TocSourceClassPart {
80  char foo;			/* keep compiler happy. */
81} TocSourceClassPart;
82
83/* Full class record declaration */
84typedef struct _TocSourceClassRec {
85    ObjectClassPart     object_class;
86    TextSrcClassPart	text_source_class;
87    TocSourceClassPart	toc_source_class;
88} TocSourceClassRec;
89
90extern TocSourceClassRec tocSourceClassRec;
91
92/* New fields for the TextSrc widget record */
93typedef struct {
94    /* resources */
95  Toc toc;
96} TocSourcePart;
97
98/****************************************************************
99 *
100 * Full instance record declaration
101 *
102 ****************************************************************/
103
104typedef struct _TocSourceRec {
105  ObjectPart    object;
106  TextSrcPart	text_source;
107  TocSourcePart	toc_source;
108} TocSourceRec;
109
110#endif /* _XawTextSrcP_h */
111