HelpQuickDI.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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: HelpQuickDI.h /main/6 1996/04/05 14:41:11 mgreess $ */
  24. /*************************************<+>*************************************
  25. *****************************************************************************
  26. **
  27. ** File: HelpQuickDI.h
  28. **
  29. ** Project: Cache Creek (Rivers) Project:
  30. **
  31. ** Description: Internal header file for QuickHelpDialog Widget.
  32. ** -----------
  33. **
  34. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
  35. **
  36. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  37. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  38. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  39. ** (c) Copyright 1993, 1994 Novell, Inc.
  40. **
  41. *******************************************************************
  42. *************************************<+>*************************************/
  43. #ifndef _HelpQuickDI_h
  44. #define _HelpQuickDI_h
  45. #include "DisplayAreaI.h"
  46. /* General Define for Quick Help Dialog Widget */
  47. #define DtHELP_TOPIC 1
  48. #define DtHELP_STRING 2
  49. #define DtMAN_TOPIC 3
  50. #define DtFILE_TOPIC 4
  51. /* Access File Expantion Definitions */
  52. #define DtACCESS_PATH_TYPE "help"
  53. #define DtACCESS_PATH_SUFFIX ".rp"
  54. #define DtNULL_TOPIC_STRING "Null Topic"
  55. /*****************************************************************************
  56. * Function: void _DtHelpQuickDialogHypertextCB(
  57. * DtHelpDispAreaStruct *pDisplayAreaStruct,
  58. * XtPointer clientData,
  59. * DtHyperTextCallbackStruct *hyperData)
  60. *
  61. * Parameters: pDisplayAreaStruct Specifies the curretn display are info.
  62. *
  63. * hyperData Specifies the current hypertext info
  64. * structure.
  65. *
  66. * clientData Specifies the client data passed into
  67. * the hypertext callback.
  68. *
  69. * Return Value: Void.
  70. *
  71. * Purpose: Process all hypertext requests in a given Help Dialogs
  72. * display area.
  73. *
  74. *****************************************************************************/
  75. extern void _DtHelpQuickDialogHypertextCB (
  76. XtPointer pDisplayAreaStruct,
  77. XtPointer clientData,
  78. DtHelpHyperTextStruct *hyperData);
  79. #endif /* _HelpQuickDI_h */
  80. /* Do not add anything after this endif. */