Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

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