home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume5 / xinfo / part01 / Info.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-28  |  2.3 KB  |  83 lines

  1. #ifndef _Info_h
  2. #define _Info_h
  3.  
  4. /* $Header: /usr1/ben/jkh/src/xinfo/RCS/Info.h,v 1.1 90/01/27 22:43:34 jkh Exp $ */
  5.  
  6. /*
  7.  *
  8.  *                   Copyright 1989, 1990
  9.  *                    Jordan K. Hubbard
  10.  *
  11.  *                PCS Computer Systeme, GmbH.
  12.  *                   Munich, West Germany
  13.  *
  14.  *
  15.  * This file is part of GNU Info widget.
  16.  *
  17.  * The GNU Info widget is free software; you can redistribute it and/or
  18.  * modify it under the terms of the GNU General Public License as published
  19.  * by the Free Software Foundation; either version 1, or (at your option)
  20.  * any later version.
  21.  *
  22.  * This software is distributed in the hope that it will be useful,
  23.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  24.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25.  * GNU General Public License for more details.
  26.  *
  27.  * You should have received a copy of the GNU General Public License
  28.  * along with this software; see the file COPYING.  If not, write to
  29.  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  30.  *
  31.  *
  32.  */
  33.  
  34. /*
  35.  *
  36.  * $Log:    Info.h,v $
  37.  * Revision 1.1  90/01/27  22:43:34  jkh
  38.  * Initial revision
  39.  * 
  40.  *
  41.  */
  42.  
  43. /*
  44.  * Resources:
  45.  *
  46.  * Name            Class        RepType        Default Value
  47.  * ----            -----        -------        -------------
  48.  * callback             Callback        XtCallbackList  NULL
  49.  * infoPath        InfoPath    String        XtDefaultInfoPath
  50.  * infoHelp        InfoHelp    String        HELPFILE
  51.  * infoFile        InfoFile    String        XtDefaultInfoFile
  52.  * infoNode        InfoNode    String        XtDefaultInfoNode
  53.  * printCommand        PrintCommand    String        XtDefaultPrintCommand
  54.  *
  55.  */
  56.  
  57. /* resource types */
  58. #define XtDefaultInfoPath    "/usr/local/lib/emacs/info:/usr/gnu/lib/emacs/info:/usr/gnu/lib/info"
  59. #define XtDefaultInfoFile    "dir"
  60. #define XtDefaultInfoNode    "Top"
  61. #define XtDefaultPrintCommand    "lpr -p"
  62.  
  63. #define XtNinfoPath        "infoPath"
  64. #define XtNinfoHelp        "infoHelp"
  65. #define XtNinfoFile        "infoFile"
  66. #define XtNinfoNode        "infoNode"
  67. #define XtNprintCommand        "printCommand"
  68.  
  69. #define XtCInfoPath        "InfoPath"
  70. #define XtCInfoHelp        "InfoHelp"
  71. #define XtCInfoFile        "InfoFile"
  72. #define XtCInfoNode        "InfoNode"
  73. #define XtCPrintCommand        "PrintCommand"     
  74.  
  75. /* declare specific InfoWidget class and instance datatypes */
  76. typedef struct _InfoClassRec*        InfoWidgetClass;
  77. typedef struct _InfoRec*        InfoWidget;
  78.  
  79. /* declare the class constant */
  80. extern WidgetClass infoWidgetClass;
  81.  
  82. #endif /* _Info_h */
  83.