HelpP.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $XConsortium: HelpP.h /main/3 1995/10/26 12:24:50 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: HelpP.h
  28. **
  29. ** Project: CacheCreeek (Rivers) Project.
  30. **
  31. **
  32. ** Description: Private header file for Dts.
  33. **
  34. **
  35. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
  36. **
  37. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  38. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  39. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  40. ** (c) Copyright 1993, 1994 Novell, Inc.
  41. **
  42. **
  43. **
  44. ****************************************************************************
  45. ************************************<+>*************************************/
  46. #ifndef _DtHelpP_h
  47. #define _DtHelpP_h
  48. /* Privite Argument Resource Definitions for Help Widget */
  49. #define DtNshowTopLevelButton "showTopLevelButton"
  50. #ifndef XmNshowTopLevelButton
  51. #define XmNshowTopLevelButton DtNshowTopLevelButton
  52. #endif
  53. #define DtCShowTopLevelButton "ShowTopLevelButton"
  54. #ifndef XmCShowTopLevelButton
  55. #define XmCShowTopLevelButton DtCShowTopLevelButton
  56. #endif
  57. #define DtNsrchHitPrefixFont "srchHitPrefixFont"
  58. #ifndef XmNsrchHitPrefixFont
  59. #define XmNsrchHitPrefixFont DtNsrchHitPrefixFont
  60. #endif
  61. #define DtCSrchHitPrefixFont "SrchHitPrefixFont"
  62. #ifndef XmCSrchHitPrefixFont
  63. #define XmCSrchHitPrefixFont DtCSrchHitPrefixFont
  64. #endif
  65. #ifndef CDE_CONFIGURATION_TOP
  66. #define CDE_CONFIGURATION_TOP "/etc/dt"
  67. #endif
  68. #ifndef CDE_INSTALLATION_TOP
  69. #define CDE_INSTALLATION_TOP "/usr/dt"
  70. #endif
  71. #define DtDEFAULT_SYSTEM_PATH \
  72. CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H:" \
  73. CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H.sdl:" \
  74. CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H.hv:" \
  75. CDE_CONFIGURATION_TOP "/appconfig/help/C/%H:" \
  76. CDE_CONFIGURATION_TOP "/appconfig/help/C/%H.sdl:" \
  77. CDE_CONFIGURATION_TOP "/appconfig/help/C/%H.hv:" \
  78. CDE_INSTALLATION_TOP "/appconfig/help/%L/%H:" \
  79. CDE_INSTALLATION_TOP "/appconfig/help/%L/%H.sdl:" \
  80. CDE_INSTALLATION_TOP "/appconfig/help/%L/%H.hv" \
  81. CDE_INSTALLATION_TOP "/appconfig/help/C/%H:" \
  82. CDE_INSTALLATION_TOP "/appconfig/help/C/%H.sdl:" \
  83. CDE_INSTALLATION_TOP "/appconfig/help/C/%H.hv:"
  84. #define DtDEFAULT_USER_PATH_FORMAT \
  85. "%s/.dt/help/%s/%%H:" \
  86. "%s/.dt/help/%s/%%H.sdl:" \
  87. "%s/.dt/help/%s/%%H.hv:" \
  88. "%s/.dt/help/%%H:" \
  89. "%s/.dt/help/%%H.sdl:" \
  90. "%s/.dt/help/%%H.hv"
  91. /* this path expects a sprintf usage as follows:
  92. sprintf(buf,DtDEFAULT_USER_PATH_FORMAT,
  93. homedir, dtusersessionname,
  94. homedir, dtusersessionname,
  95. homedir, dtusersessionname,
  96. homedir, homedir, homedir);
  97. */
  98. /* #define DtVOLUMES_TYPE "volumes" */
  99. #endif /* _DtHelpP_h */
  100. /* DON'T ADD ANYTHING AFTER THIS #endif */