1c9e2be55Smrg/* $XConsortium: tsource.h,v 1.3 94/04/17 20:24:04 converse Exp $ */
2c9e2be55Smrg
3c9e2be55Smrg/***********************************************************
4c9e2be55Smrg
5c9e2be55SmrgCopyright (c) 1987, 1988  X Consortium
6c9e2be55Smrg
7c9e2be55SmrgPermission is hereby granted, free of charge, to any person obtaining a copy
8c9e2be55Smrgof this software and associated documentation files (the "Software"), to deal
9c9e2be55Smrgin the Software without restriction, including without limitation the rights
10c9e2be55Smrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11c9e2be55Smrgcopies of the Software, and to permit persons to whom the Software is
12c9e2be55Smrgfurnished to do so, subject to the following conditions:
13c9e2be55Smrg
14c9e2be55SmrgThe above copyright notice and this permission notice shall be included in
15c9e2be55Smrgall copies or substantial portions of the Software.
16c9e2be55Smrg
17c9e2be55SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18c9e2be55SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19c9e2be55SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
20c9e2be55SmrgX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21c9e2be55SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22c9e2be55SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23c9e2be55Smrg
24c9e2be55SmrgExcept as contained in this notice, the name of the X Consortium shall not be
25c9e2be55Smrgused in advertising or otherwise to promote the sale, use or other dealings
26c9e2be55Smrgin this Software without prior written authorization from the X Consortium.
27c9e2be55Smrg
28c9e2be55Smrg
29c9e2be55SmrgCopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
30c9e2be55Smrg
31c9e2be55Smrg                        All Rights Reserved
32c9e2be55Smrg
33d859ff80SmrgPermission to use, copy, modify, and distribute this software and its
34d859ff80Smrgdocumentation for any purpose and without fee is hereby granted,
35c9e2be55Smrgprovided that the above copyright notice appear in all copies and that
36d859ff80Smrgboth that copyright notice and this permission notice appear in
37c9e2be55Smrgsupporting documentation, and that the name of Digital not be
38c9e2be55Smrgused in advertising or publicity pertaining to distribution of the
39d859ff80Smrgsoftware without specific, written prior permission.
40c9e2be55Smrg
41c9e2be55SmrgDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
42c9e2be55SmrgALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
43c9e2be55SmrgDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
44c9e2be55SmrgANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45c9e2be55SmrgWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
46c9e2be55SmrgARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
47c9e2be55SmrgSOFTWARE.
48c9e2be55Smrg
49c9e2be55Smrg******************************************************************/
50c9e2be55Smrg/* $XFree86$ */
51c9e2be55Smrg
52c9e2be55Smrg#ifndef _tsource_h
53c9e2be55Smrg#define _tsource_h
54c9e2be55Smrg
55c9e2be55Smrg#include <X11/Xaw/TextSrc.h>
56c9e2be55Smrg
57c9e2be55Smrg/* xmh TextSrc widget resources:
58c9e2be55Smrg Name		     Class		RepType		Default Value
59c9e2be55Smrg ----		     -----		-------		-------------
60c9e2be55Smrg toc                 Toc                Pointer         NULL
61c9e2be55Smrg*/
62c9e2be55Smrg
63c9e2be55Smrg#define XtCToc "Toc"
64c9e2be55Smrg#define XtNtoc "toc"
65c9e2be55Smrg
66c9e2be55Smrg/* Class record constants */
67c9e2be55Smrg
68c9e2be55Smrgextern WidgetClass tocSourceWidgetClass;
69c9e2be55Smrg
70c9e2be55Smrgtypedef struct _TocSourceClassRec *TocSourceWidgetClass;
71c9e2be55Smrgtypedef struct _TocSourceRec      *TocSourceWidget;
72c9e2be55Smrg
73c9e2be55Smrgextern Msg MsgFromPosition(Toc, XawTextPosition, XawTextScanDirection);
74c9e2be55Smrgextern void TSourceInvalid(Toc, XawTextPosition, int);
75c9e2be55Smrg
76c9e2be55Smrg#endif /* _XawTextSrc_h */
77c9e2be55Smrg/* DON'T ADD STUFF AFTER THIS #endif */
78