home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / clients / xmh / tsourceP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-01  |  2.6 KB  |  87 lines

  1. /*
  2. * $XConsortium: tsourceP.h,v 1.1 89/09/01 17:36:46 kit Exp $
  3. */
  4.  
  5.  
  6. /***********************************************************
  7. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  8. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  9.  
  10.                         All Rights Reserved
  11.  
  12. Permission to use, copy, modify, and distribute this software and its 
  13. documentation for any purpose and without fee is hereby granted, 
  14. provided that the above copyright notice appear in all copies and that
  15. both that copyright notice and this permission notice appear in 
  16. supporting documentation, and that the names of Digital or MIT not be
  17. used in advertising or publicity pertaining to distribution of the
  18. software without specific, written prior permission.  
  19.  
  20. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  21. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  22. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  23. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  25. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  26. SOFTWARE.
  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.  
  55. typedef struct _TocSourceClassPart {
  56.   char foo;            /* keep compiler happy. */
  57. } TocSourceClassPart;
  58.  
  59. /* Full class record declaration */
  60. typedef struct _TocSourceClassRec {
  61.     ObjectClassPart     object_class;
  62.     TextSrcClassPart    text_source_class;
  63.     TocSourceClassPart    toc_source_class;
  64. } TocSourceClassRec;
  65.  
  66. extern TocSourceClassRec tocSourceClassRec;
  67.  
  68. /* New fields for the TextSrc widget record */
  69. typedef struct {
  70.     /* resources */
  71.   Toc toc;
  72. } TocSourcePart;
  73.  
  74. /****************************************************************
  75.  *
  76.  * Full instance record declaration
  77.  *
  78.  ****************************************************************/
  79.  
  80. typedef struct _TocSourceRec {
  81.   ObjectPart    object;
  82.   TextSrcPart    text_source;
  83.   TocSourcePart    toc_source;
  84. } TocSourceRec;
  85.  
  86. #endif /* _XawTextSrcP_h */
  87.