punzip.rcv 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /*
  2. Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 2009-Jan-02 or later
  4. (the contents of which are also included in unzip.h) for terms of use.
  5. If, for some reason, all these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
  7. */
  8. //******************************************************************************
  9. //
  10. // File: PUNZIP.RCV
  11. //
  12. // Description: Resources that Microsoft Visual C++ does not edit directly.
  13. // This file sets all the version defines and declares the Version
  14. // Info resource. This file is included by both the C compiler and
  15. // the resource compiler.
  16. //
  17. // Copyright: All the source files for Pocket UnZip, except for components
  18. // written by the Info-ZIP group, are copyrighted 1997 by Steve P.
  19. // Miller. The product "Pocket UnZip" itself is property of the
  20. // author and cannot be altered in any way without written consent
  21. // from Steve P. Miller.
  22. //
  23. // Disclaimer: All project files are provided "as is" with no guarantee of
  24. // their correctness. The authors are not liable for any outcome
  25. // that is the result of using this source. The source for Pocket
  26. // UnZip has been placed in the public domain to help provide an
  27. // understanding of its implementation. You are hereby granted
  28. // full permission to use this source in any way you wish, except
  29. // to alter Pocket UnZip itself. For comments, suggestions, and
  30. // bug reports, please write to stevemil@pobox.com.
  31. //
  32. //
  33. // Date Name History
  34. // -------- ------------ -----------------------------------------------------
  35. // 02/01/97 Steve Miller Created (Version 1.0 using Info-ZIP UnZip 5.30)
  36. //
  37. //******************************************************************************
  38. #ifndef __PUNZIP_RCV__
  39. #define __PUNZIP_RCV__
  40. #ifdef APSTUDIO_INVOKED
  41. #error this file is not editable by Microsoft Visual C++
  42. #endif // APSTUDIO_INVOKED
  43. #ifdef _WIN32_WCE
  44. #define VS_FFI_FILEFLAGSMASK 0x0000003FL
  45. #define VS_FF_PRERELEASE 0x00000002L
  46. #define VOS__WINDOWS32 0x00000004L
  47. #define VFT_APP 0x00000001L
  48. #define VFT2_UNKNOWN 0x00000000L
  49. #define VS_FF_DEBUG 0x00000001L
  50. #else
  51. #include <winver.h>
  52. #endif
  53. #include "../unzvers.h"
  54. //******************************************************************************
  55. //***** User Modifiable Version Defines
  56. //******************************************************************************
  57. #define VERSION_MAJOR 2
  58. #define VERSION_MINOR 0
  59. #define VERSION_PRIVATE 0
  60. #define VERSION_PATCH UZ_PATCHLEVEL
  61. #define VERSION_STRING "2.0"
  62. // Set VER_FF_PRERELEASE to VS_FF_PRERELEASE for beta and 0 for release.
  63. #ifdef BETA
  64. #define VER_FF_PRERELEASE VS_FF_PRERELEASE
  65. #else
  66. #define VER_FF_PRERELEASE 0
  67. #endif
  68. //******************************************************************************
  69. //***** Fixed Version Defines
  70. //******************************************************************************
  71. #define VER_INTERNALNAME_STR "PUNZIP"
  72. #define VER_PRODUCT_STR "Pocket UnZip\256"
  73. #define VER_DEVELOPER_STR "Steve P. Miller (stevemil@pobox.com)"
  74. #define VER_COMMENT_STR "Pocket UnZip is built on top of Info-ZIP's UnZip " UZ_VER_STRING UZ_BETALEVEL " source code from " UZ_VERSION_DATE "."
  75. #define VER_FILENAME_STR VER_INTERNALNAME_STR ".EXE"
  76. #define VER_VERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PRIVATE,VERSION_PATCH
  77. #define VER_COMPANY_STR VER_DEVELOPER_STR
  78. #define VER_COPYRIGHT_STR "Copyright \251 1997-2009 Info-ZIP. All Rights Reserved."
  79. #ifdef UNICODE
  80. #define VER_CODEPAGE " Unicode)"
  81. #else
  82. #define VER_CODEPAGE " Ansi)"
  83. #endif
  84. #if defined(_X86_) || defined(_M_IX86)
  85. #define VER_ARCH " (i386," VER_CODEPAGE
  86. #elif defined(_MIPS_) || defined(_M_MRX000)
  87. #define VER_ARCH " (MIPS)"
  88. #elif defined(_SH3_)
  89. #define VER_ARCH " (Hitachi SH-3)"
  90. #elif defined(_PPC_) || defined(_M_PPC)
  91. #define VER_ARCH " (IBM PowerPC)"
  92. #elif defined(_ALPHA_) || defined(_M_ALPHA)
  93. #define VER_ARCH " (DEC Alpha)"
  94. #elif defined(_M_MPPC)
  95. #define VER_ARCH " (Macintosh PowerPC)"
  96. #elif defined(_M_M68K)
  97. #define VER_ARCH " (Macintosh 68K)"
  98. #else
  99. #define VER_ARCH ""
  100. #endif
  101. #ifdef _DEBUG
  102. #define VER_FF_DEBUG VS_FF_DEBUG
  103. #else
  104. #define VER_FF_DEBUG 0
  105. #endif
  106. #if (VERSION_PATCH > 0)
  107. #define VER_FF_PATCHED VS_FF_PATCHED
  108. #else
  109. #define VER_FF_PATCHED 0
  110. #endif
  111. #if (VERSION_PRIVATE > 0)
  112. #define VER_FF_PRIVATEBUILD VS_FF_PRIVATEBUILD
  113. #else
  114. #define VER_FF_PRIVATEBUILD 0
  115. #endif
  116. #ifdef _DEBUG
  117. #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
  118. #define VER_VERSION_STR VERSION_STRING " Beta (Debug)"
  119. #else
  120. #define VER_VERSION_STR VERSION_STRING " (Debug)"
  121. #endif
  122. #else
  123. #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
  124. #define VER_VERSION_STR VERSION_STRING " Beta"
  125. #else
  126. #define VER_VERSION_STR VERSION_STRING
  127. #endif
  128. #endif
  129. #ifdef _WIN32_WCE
  130. #define VER_FULLPRODUCT_STR VER_PRODUCT_STR " for Windows\256 CE" VER_ARCH
  131. #define VER_FULLVERSION_STR VER_VERSION_STR " for Windows\256 CE" VER_ARCH
  132. #else
  133. #define VER_FULLPRODUCT_STR VER_PRODUCT_STR " for Windows\256 NT" VER_ARCH
  134. #define VER_FULLVERSION_STR VER_VERSION_STR " for Windows\256 NT" VER_ARCH
  135. #endif
  136. //******************************************************************************
  137. //***** VERSIONINFO Resource
  138. //******************************************************************************
  139. #ifdef RC_INVOKED
  140. VS_VERSION_INFO VERSIONINFO
  141. FILEVERSION VER_VERSION
  142. PRODUCTVERSION VER_VERSION
  143. FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  144. FILEFLAGS VER_FF_PRERELEASE | VER_FF_DEBUG | VER_FF_PATCHED | VER_FF_PRIVATEBUILD
  145. FILEOS VOS__WINDOWS32
  146. FILETYPE VFT_APP
  147. FILESUBTYPE VFT2_UNKNOWN
  148. BEGIN
  149. BLOCK "StringFileInfo"
  150. BEGIN
  151. #ifdef UNICODE
  152. BLOCK "040904B0" // 0x0409 = U.S. English, 0x04B0 = Unicode
  153. #else
  154. BLOCK "040904E4" // 0x0409 = U.S. English, 0x04E4 = Ansi 1252
  155. #endif
  156. BEGIN
  157. VALUE "CompanyName", VER_COMPANY_STR "\0"
  158. VALUE "FileDescription", VER_FULLPRODUCT_STR "\0"
  159. VALUE "FileVersion", VER_FULLVERSION_STR "\0"
  160. VALUE "InternalName", VER_INTERNALNAME_STR "\0"
  161. VALUE "LegalCopyright", VER_COPYRIGHT_STR "\0"
  162. VALUE "OriginalFilename",VER_FILENAME_STR "\0"
  163. VALUE "ProductName", VER_PRODUCT_STR "\0"
  164. VALUE "ProductVersion", VER_VERSION_STR "\0"
  165. VALUE "Comments", VER_COMMENT_STR "\0"
  166. END
  167. END
  168. BLOCK "VarFileInfo"
  169. BEGIN
  170. #ifdef UNICODE
  171. // English language (0x0409) and the Unicode codepage (1200)
  172. VALUE "Translation", 0x0409, 1200
  173. #else
  174. // English language (0x0409) and the Western Europe codepage (1252)
  175. VALUE "Translation", 0x0409, 1252
  176. #endif
  177. END
  178. END
  179. #endif // RC_INVOKED
  180. #endif // __PUNZIP_RCV__