HelpQuickD.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 librararies 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: HelpQuickD.h /main/3 1995/10/26 12:25:25 rswiston $ */
  24. /*
  25. * (c) Copyright 1993, 1994 Hewlett-Packard Company
  26. * (c) Copyright 1993, 1994 International Business Machines Corp.
  27. * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  28. * (c) Copyright 1993, 1994 Novell, Inc.
  29. */
  30. #ifndef _Dt_HelpQuickD_h
  31. #define _Dt_HelpQuickD_h
  32. #include <Dt/Help.h>
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. /*
  37. * Constants
  38. */
  39. /* Quick help dialog-specific Resources */
  40. #ifndef DtNbackLabelString
  41. #define DtNbackLabelString "backLabelString"
  42. #endif
  43. #ifndef DtNhelpLabelString
  44. #define DtNhelpLabelString XmNhelpLabelString
  45. #endif
  46. #ifndef DtNmoreLabelString
  47. #define DtNmoreLabelString "moreLabelString"
  48. #endif
  49. #ifndef DtNcloseLabelString
  50. #define DtNcloseLabelString "closeLabelString"
  51. #endif
  52. #ifndef DtNprintLabelString
  53. #define DtNprintLabelString "printLabelString"
  54. #endif
  55. #ifndef DtCCallback
  56. #define DtCCallback XmCCallback
  57. #endif
  58. #ifndef DtCBackLabelString
  59. #define DtCBackLabelString "BackLabelString"
  60. #endif
  61. #ifndef DtCHelpLabelString
  62. #define DtCHelpLabelString XmCHelpLabelString
  63. #endif
  64. #ifndef DtCMoreLabelString
  65. #define DtCMoreLabelString "MoreLabelString"
  66. #endif
  67. #ifndef DtCCloseLabelString
  68. #define DtCCloseLabelString "CloseLabelString"
  69. #endif
  70. #ifndef DtCPrintLabelString
  71. #define DtCPrintLabelString "PrintLabelString"
  72. #endif
  73. /*
  74. * Types
  75. */
  76. /* Widget class and instance */
  77. typedef struct _DtHelpQuickDialogWidgetClassRec * DtHelpQuickDialogWidgetClass;
  78. typedef struct _DtHelpQuickDialogWidgetRec * DtHelpQuickDialogWidget;
  79. /*
  80. * Data
  81. */
  82. /* Widget class record */
  83. externalref WidgetClass dtHelpQuickDialogWidgetClass;
  84. /*
  85. * Functions
  86. */
  87. /* tmp backwards compat */
  88. #define DtCreateQuickHelpDialog DtCreateHelpQuickDialog
  89. extern Widget DtCreateHelpQuickDialog(
  90. Widget parent,
  91. char *name,
  92. ArgList arglist,
  93. Cardinal argcount);
  94. extern Widget DtHelpQuickDialogGetChild(
  95. Widget widget,
  96. unsigned char child);
  97. #ifdef __cplusplus
  98. }
  99. #endif
  100. #endif /* _Dt_HelpQuickD_h */