home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / include / x11 / xaw / multisink.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  4.7 KB  |  119 lines

  1. /* $XConsortium: MultiSink.h,v 1.2 94/04/17 20:12:23 kaleb Exp $ */
  2.  
  3. /*
  4.  * Copyright 1991 by OMRON Corporation
  5.  *
  6.  * Permission to use, copy, modify, distribute, and sell this software and its
  7.  * documentation for any purpose is hereby granted without fee, provided that
  8.  * the above copyright notice appear in all copies and that both that
  9.  * copyright notice and this permission notice appear in supporting
  10.  * documentation, and that the name OMRON is not be used in
  11.  * advertising or publicity pertaining to distribution of the software without
  12.  * specific, written prior permission.  OMRON makes no representations
  13.  * about the suitability of this software for any purpose.  It is provided
  14.  * "as is" without express or implied warranty.
  15.  *
  16.  * OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  17.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  18.  * EVENT SHALL OMRON BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  19.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  20.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  21.  * TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  22.  * PERFORMANCE OF THIS SOFTWARE.
  23.  *
  24.  *      Author: Li Yuhong     OMRON Corporation
  25.  */
  26.  
  27. /***********************************************************
  28.  
  29. Copyright (c) 1987, 1988, 1994  X Consortium
  30.  
  31. Permission is hereby granted, free of charge, to any person obtaining a copy
  32. of this software and associated documentation files (the "Software"), to deal
  33. in the Software without restriction, including without limitation the rights
  34. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  35. copies of the Software, and to permit persons to whom the Software is
  36. furnished to do so, subject to the following conditions:
  37.  
  38. The above copyright notice and this permission notice shall be included in
  39. all copies or substantial portions of the Software.
  40.  
  41. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  42. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  43. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  44. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  45. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  46. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  47.  
  48. Except as contained in this notice, the name of the X Consortium shall not be
  49. used in advertising or otherwise to promote the sale, use or other dealings
  50. in this Software without prior written authorization from the X Consortium.
  51.  
  52.  
  53. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  54.  
  55.                         All Rights Reserved
  56.  
  57. Permission to use, copy, modify, and distribute this software and its 
  58. documentation for any purpose and without fee is hereby granted, 
  59. provided that the above copyright notice appear in all copies and that
  60. both that copyright notice and this permission notice appear in 
  61. supporting documentation, and that the name of Digital not be
  62. used in advertising or publicity pertaining to distribution of the
  63. software without specific, written prior permission.  
  64.  
  65. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  66. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  67. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  68. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  69. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  70. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  71. SOFTWARE.
  72.  
  73. ******************************************************************/
  74.  
  75. #ifndef _XawMultiSink_h
  76. #define _XawMultiSink_h
  77.  
  78. /***********************************************************************
  79.  *
  80.  * MultiSink Object
  81.  *
  82.  ***********************************************************************/
  83.  
  84. #include <X11/Xaw/TextSink.h>
  85.  
  86. /* Resources:
  87.  
  88.  Name             Class        RepType        Default Value
  89.  ----             -----        -------        -------------
  90.  echo                Output             Boolean         True
  91.  displayNonprinting  Output             Boolean         True
  92.  fontSet             FontSet            XFontSet        XtDefaultFontSet
  93.  
  94. */
  95.  
  96. #define XtCOutput "Output"
  97.  
  98. #define XtNdisplayNonprinting "displayNonprinting"
  99. #define XtNecho "echo"
  100.  
  101. #ifndef XtNfontSet        /*Sheeran, Omron KK, 93/03/04*/
  102. #define XtNfontSet        "fontSet"
  103. #endif
  104.  
  105. #ifndef XtCFontSet        /*Sheeran, Omron KK, 93/03/04*/
  106. #define XtCFontSet        "FontSet"
  107. #endif
  108.  
  109. /* Class record constants */
  110.  
  111. extern WidgetClass multiSinkObjectClass;
  112.  
  113. typedef struct _MultiSinkClassRec *MultiSinkObjectClass;
  114. typedef struct _MultiSinkRec      *MultiSinkObject;
  115.  
  116.  
  117. #endif /* _XawMultiSrc_h */
  118. /* DON'T ADD STUFF AFTER THIS #endif */
  119.