Link with C++ linker
[oweals/cde.git] / cde / programs / nsgmls / CmdLineAppMessages.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 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: CmdLineAppMessages.h /main/1 1996/07/29 16:47:51 cde-hp $ */
24 // This file was automatically generated from CmdLineAppMessages.msg by msggen.pl.
25 #include "Message.h"
26
27 #ifdef SP_NAMESPACE
28 namespace SP_NAMESPACE {
29 #endif
30
31 struct CmdLineAppMessages {
32   // 4000
33   static const MessageType1 invalidOptionError;
34   // 4001
35   static const MessageType1 missingOptionArgError;
36   // 4002
37   static const MessageType1 usage;
38   // 4003
39   static const MessageType1 versionInfo;
40   // 4004
41   static const MessageType1 unknownBctf;
42   // 4005
43   static const MessageType2 cannotOpenOutputError;
44 };
45 const MessageType1 CmdLineAppMessages::invalidOptionError(
46 MessageType::error,
47 #ifdef BUILD_LIBSP
48 MessageFragment::libModule,
49 #else
50 MessageFragment::appModule,
51 #endif
52 4000
53 #ifndef SP_NO_MESSAGE_TEXT
54 ,"invalid option %1"
55 #endif
56 );
57 const MessageType1 CmdLineAppMessages::missingOptionArgError(
58 MessageType::error,
59 #ifdef BUILD_LIBSP
60 MessageFragment::libModule,
61 #else
62 MessageFragment::appModule,
63 #endif
64 4001
65 #ifndef SP_NO_MESSAGE_TEXT
66 ,"missing argument for option %1"
67 #endif
68 );
69 const MessageType1 CmdLineAppMessages::usage(
70 MessageType::info,
71 #ifdef BUILD_LIBSP
72 MessageFragment::libModule,
73 #else
74 MessageFragment::appModule,
75 #endif
76 4002
77 #ifndef SP_NO_MESSAGE_TEXT
78 ,"usage is %1"
79 #endif
80 );
81 const MessageType1 CmdLineAppMessages::versionInfo(
82 MessageType::info,
83 #ifdef BUILD_LIBSP
84 MessageFragment::libModule,
85 #else
86 MessageFragment::appModule,
87 #endif
88 4003
89 #ifndef SP_NO_MESSAGE_TEXT
90 ,"version %1"
91 #endif
92 );
93 const MessageType1 CmdLineAppMessages::unknownBctf(
94 MessageType::error,
95 #ifdef BUILD_LIBSP
96 MessageFragment::libModule,
97 #else
98 MessageFragment::appModule,
99 #endif
100 4004
101 #ifndef SP_NO_MESSAGE_TEXT
102 ,"unknown BCTF %1"
103 #endif
104 );
105 const MessageType2 CmdLineAppMessages::cannotOpenOutputError(
106 MessageType::error,
107 #ifdef BUILD_LIBSP
108 MessageFragment::libModule,
109 #else
110 MessageFragment::appModule,
111 #endif
112 4005
113 #ifndef SP_NO_MESSAGE_TEXT
114 ,"cannot open output file %1 (%2)"
115 #endif
116 );
117 #ifdef SP_NAMESPACE
118 }
119 #endif