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