CmdLineAppMessages.h 2.8 KB

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