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