WmHelp.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. /*
  24. * (c) Copyright 1987, 1988, 1989, 1990, 1992 HEWLETT-PACKARD COMPANY
  25. * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  26. * ALL RIGHTS RESERVED
  27. */
  28. #include "WmGlobal.h"
  29. /*
  30. * Various types of help available.
  31. */
  32. #define WM_DT_HELP_VOLUME "FPanel"
  33. #define WM_DT_HELP_TOPIC "_HOMETOPIC"
  34. #define WM_DT_WSRENAME_HELP_TOPIC "WSRENAME"
  35. #define WM_DT_WSRENAMEERROR_HELP_TOPIC "WSRENAMEERROR"
  36. #define WM_DT_ICONBOX_TOPIC "ICONBOX"
  37. #define WM_DT_WSPRESENCE_TOPIC "WSPRESENCE"
  38. typedef struct _WmHelpTopicData
  39. {
  40. char *helpVolume;
  41. char *helpTopic;
  42. } WmHelpTopicData;
  43. /******** Public Function Declarations ********/
  44. extern Boolean RestoreHelpDialogs(
  45. WmScreenData *pSD);
  46. extern void SaveHelpResources(
  47. WmScreenData *pSD);
  48. extern Boolean WmDtHelp (
  49. String args);
  50. extern Boolean WmDtHelpMode (
  51. void);
  52. extern void WmDtHelpOnVersion (
  53. Widget shell);
  54. extern void WmDtStringHelpCB (Widget theWidget,
  55. XtPointer client_data,
  56. XtPointer call_data );
  57. extern void WmDtWmStringHelpCB (Widget theWidget,
  58. XtPointer client_data,
  59. XtPointer call_data );
  60. extern void WmDtDisplayTopicHelp (Widget widget,
  61. char * helpVolume,
  62. char * locationID);
  63. extern void WmDtDisplayStringHelp (Widget widget,
  64. char * helpString);
  65. extern void WmDtWmTopicHelpCB (Widget theWidget,
  66. XtPointer client_data,
  67. XtPointer call_data );
  68. /******** End Public Function Declarations ********/
  69. /**************************** eof ***************************/