PrintMsgsP.h 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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: PrintMsgsP.h /main/9 1996/08/19 17:12:12 cde-hp $ */
  24. /*
  25. * DtPrint/PrintMsgsP.h
  26. */
  27. /*
  28. * (c) Copyright 1996 Digital Equipment Corporation.
  29. * (c) Copyright 1996 Hewlett-Packard Company.
  30. * (c) Copyright 1996 International Business Machines Corp.
  31. * (c) Copyright 1996 Sun Microsystems, Inc.
  32. * (c) Copyright 1996 Novell, Inc.
  33. * (c) Copyright 1996 FUJITSU LIMITED.
  34. * (c) Copyright 1996 Hitachi.
  35. */
  36. #ifndef _DtPrintMsgsP_h
  37. #define _DtPrintMsgsP_h
  38. #ifdef I18N_MSG
  39. #include <Dt/MsgCatP.h>
  40. #define DTPRINT_GETMESSAGE(set, number, string) \
  41. _DtPrintGetMessage(set, number, string)
  42. #else /* I18N_MSG */
  43. #define DTPRINT_GETMESSAGE(set, number, string) string
  44. #endif /* I18N_MSG */
  45. /*** const causes the HP compiler to complain. Remove reference until ***
  46. *** the build and integration people can figure out how to get this to ***
  47. *** work. ***/
  48. /* #define CONST const */
  49. #define CONST
  50. /*
  51. * extern declarations for PrintSetupBox widget messages
  52. */
  53. extern CONST char _DtPrMsgPrintSetupBox_0000[];
  54. extern CONST char _DtPrMsgPrintSetupBox_0001[];
  55. extern CONST char _DtPrMsgPrintSetupBox_0002[];
  56. extern CONST char _DtPrMsgPrintSetupBox_0003[];
  57. extern CONST char _DtPrMsgPrintSetupBox_0004[];
  58. extern CONST char _DtPrMsgPrintSetupBox_0005[];
  59. extern CONST char _DtPrMsgPrintSetupBox_0006[];
  60. extern CONST char _DtPrMsgPrintSetupBox_0007[];
  61. extern CONST char _DtPrMsgPrintSetupBox_0008[];
  62. extern CONST char _DtPrMsgPrintSetupBox_0009[];
  63. extern CONST char _DtPrMsgPrintSetupBox_0010[];
  64. extern CONST char _DtPrMsgPrintSetupBox_0011[];
  65. extern CONST char _DtPrMsgPrintSetupBox_0012[];
  66. extern CONST char _DtPrMsgPrintSetupBox_0013[];
  67. extern CONST char _DtPrMsgPrintSetupBox_0014[];
  68. extern CONST char _DtPrMsgPrintSetupBox_0015[];
  69. extern CONST char _DtPrMsgPrintSetupBox_0016[];
  70. extern CONST char _DtPrMsgPrintSetupBox_0017[];
  71. extern CONST char _DtPrMsgPrintSetupBox_0018[];
  72. extern CONST char _DtPrMsgPrintSetupBox_0019[];
  73. extern CONST char _DtPrMsgPrintSetupBox_0020[];
  74. extern CONST char _DtPrMsgPrintSetupBox_0021[];
  75. extern CONST char _DtPrMsgPrintSetupBox_0022[];
  76. extern CONST char _DtPrMsgPrintSetupBox_0023[];
  77. extern CONST char _DtPrMsgPrintSetupBox_0024[];
  78. extern CONST char _DtPrMsgPrintSetupBox_0025[];
  79. extern CONST char _DtPrMsgPrintSetupBox_0026[];
  80. extern CONST char _DtPrMsgPrintSetupBox_0027[];
  81. extern CONST char _DtPrMsgPrintSetupBox_0028[];
  82. extern CONST char _DtPrMsgPrintSetupBox_0029[];
  83. extern CONST char _DtPrMsgPrintSetupBox_0030[];
  84. extern CONST char _DtPrMsgPrintSetupBox_0031[];
  85. extern CONST char _DtPrMsgPrintSetupBox_0032[];
  86. extern CONST char _DtPrMsgPrintSetupBox_0033[];
  87. extern CONST char _DtPrMsgPrintSetupBox_0034[];
  88. extern CONST char _DtPrMsgPrintSetupBox_0035[];
  89. extern CONST char _DtPrMsgPrintSetupBox_0036[];
  90. /*
  91. * Message set for PrintSetupBox widget
  92. */
  93. #define MS_PrintSetupBox 1
  94. /* Message IDs for PrintSetupBox */
  95. #define PSUB_WARN_WA_LOCATION 1
  96. #define PSUB_SELECT_PRINTER 2
  97. #define PSUB_PRINT_TO_FILE 3
  98. #define PSUB_SELECT_FILE 4
  99. #define PSUB_CANCEL 5
  100. #define PSUB_COPIES 6
  101. #define PSUB_HELP 7
  102. #define PSUB_PRINT 8
  103. #define PSUB_PRINTER_NAME 9
  104. #define PSUB_SETUP 10
  105. #define PSUB_DESCRIPTION 11
  106. #define PSUB_WARN_COPY_COUNT 12
  107. #define PSUB_WARN_SETUP_MODE 13
  108. #define PSUB_WARN_SETUP_MODE_CHANGE 14
  109. #define PSUB_PRINTER_INFO 15
  110. #define PSUB_INVALID_PRINTER_TITLE 16
  111. #define PSUB_INVALID_PRINTER_MESSAGE 17
  112. #define PSUB_INVALID_DISPLAY_MESSAGE 18
  113. #define PSUB_NOT_XP_DISPLAY_MESSAGE 19
  114. #define PSUB_NO_DEFAULT_MESSAGE 20
  115. #define PSUB_NO_DEFAULT_DISPLAY_MESSAGE 21
  116. #define PSUB_PRINTER_MISSING_MESSAGE 22
  117. #define PSUB_WARN_PRINT_DESTINATION 23
  118. #define PSUB_WARN_CT_CONVERSION 24
  119. #define PSUB_WARN_CONVERSION_ARGS 25
  120. #define PSUB_PRLIST_ERROR_TITLE 26
  121. #define PSUB_NO_PRINTERS_MESSAGE 27
  122. #define PSUB_DESC_UNAVAILABLE 28
  123. #define PSUB_SELECT_FILE_TITLE 29
  124. #define PSUB_PRINTER_INFO_TITLE 30
  125. #define PSUB_FORMAT_LABEL 31
  126. #define PSUB_MODEL_LABEL 32
  127. #define PSUB_PRINTER_LIST_LABEL 33
  128. #define PSUB_MORE_PRINTERS_TITLE 34
  129. #define PSUB_PRINT_TO_PRINTER 35
  130. #define PSUB_FILE_NAME 36
  131. #define PSUB_HELP_DLG_TITLE 37
  132. /*
  133. * extern declarations for _DtPrint frame widgets
  134. */
  135. extern CONST char _DtPrMsgPrintOption_0000[];
  136. extern CONST char _DtPrMsgPrintOption_0001[];
  137. extern CONST char _DtPrMsgPrintOption_0002[];
  138. extern CONST char _DtPrMsgPrintOption_0003[];
  139. extern CONST char _DtPrMsgPrintOption_0004[];
  140. extern CONST char _DtPrMsgPrintOption_0005[];
  141. extern CONST char _DtPrMsgPrintOption_0006[];
  142. extern CONST char _DtPrMsgPrintOption_0007[];
  143. extern CONST char _DtPrMsgPrintOption_0008[];
  144. extern CONST char _DtPrMsgPrintOption_0009[];
  145. /*
  146. * Message set for _DtPrint frame widgets
  147. */
  148. #define MS_PrintOptionsSet 2
  149. /*
  150. * Message IDs for _DtPrint frame widgets
  151. */
  152. #define DTPO_MARGINS 1
  153. #define DTPO_TOP 2
  154. #define DTPO_RIGHT 3
  155. #define DTPO_BOTTOM 4
  156. #define DTPO_LEFT 5
  157. #define DTPO_HEADERS_N_FOOTERS 6
  158. #define DTPO_TOP_LEFT 7
  159. #define DTPO_TOP_RIGHT 8
  160. #define DTPO_BOTTOM_LEFT 9
  161. #define DTPO_BOTTOM_RIGHT 10
  162. /*
  163. * extern declarations for PrintDlgMgr module
  164. */
  165. extern CONST char _DtPrMsgPrintDlgMgr_0000[];
  166. extern CONST char _DtPrMsgPrintDlgMgr_0001[];
  167. extern CONST char _DtPrMsgPrintDlgMgr_0002[];
  168. /*
  169. * Message set for PrintDlgMgr module
  170. */
  171. #define MS_PrintDlgMgrSet 3
  172. /*
  173. * Message IDs for PrintDlgMgr module
  174. */
  175. #define DTPDM_SEND_MAIL_LABEL 1
  176. #define DTPDM_BANNER_LABEL 2
  177. #define DTPDM_SPOOL_OPTS_LABEL 3
  178. #ifdef I18N_MSG
  179. extern char * _DtPrintGetMessage(
  180. int set,
  181. int n,
  182. char * s);
  183. #endif /* I18N_MSG */
  184. #endif /* _DtPrintMsgsP_h */