File: punzip.rcv

package info (click to toggle)
unzip 5.32-1
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 3,616 kB
  • ctags: 5,353
  • sloc: ansic: 35,010; cpp: 3,775; makefile: 1,269; asm: 1,113; sh: 133
file content (181 lines) | stat: -rw-r--r-- 6,397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
//******************************************************************************
//
// File:        PUNZIP.RCV
//
// Description: Resources that Microsoft Visual C++ does not edit directly.  
//              This file sets all the version defines and decalres the Version
//              Info resource.  This file is included by both the C compiler and
//              the resource compiler.
//
// Copyright:   All the source files for Pocket UnZip, except for components
//              written by the Info-ZIP group, are copyrighted 1997 by Steve P.
//              Miller.  The product "Pocket UnZip" itself is property of the
//              author and cannot be altered in any way without written consent
//              from Steve P. Miller.
//
// Disclaimer:  All project files are provided "as is" with no guarantee of
//              their correctness.  The authors are not liable for any outcome
//              that is the result of using this source.  The source for Pocket
//              UnZip has been placed in the public domain to help provide an
//              understanding of its implementation.  You are hereby granted
//              full permission to use this source in any way you wish, except
//              to alter Pocket UnZip itself.  For comments, suggestions, and
//              bug reports, please write to stevemil@pobox.com.
//
//
// Date      Name          History
// --------  ------------  -----------------------------------------------------
// 02/01/97  Steve Miller  Created (Version 1.0 using Info-ZIP UnZip 5.30)
//
//******************************************************************************

#ifndef __PUNZIP_RCV__
#define __PUNZIP_RCV__

#ifdef APSTUDIO_INVOKED
   #error this file is not editable by Microsoft Visual C++
#endif // APSTUDIO_INVOKED

#ifdef _WIN32_WCE
#define VS_FFI_FILEFLAGSMASK    0x0000003FL
#define VS_FF_PRERELEASE        0x00000002L
#define VOS__WINDOWS32          0x00000004L
#define VFT_APP                 0x00000001L
#define VFT2_UNKNOWN            0x00000000L
#define VS_FF_DEBUG             0x00000001L
#else
#include <winver.h>
#endif

//******************************************************************************
//***** User Modifiable Version Defines
//******************************************************************************

#define VERSION_MAJOR        1
#define VERSION_MINOR        0
#define VERSION_PRIVATE      0
#define VERSION_PATCH        0

#define VERSION_STRING       "1.0"

// Set VER_FF_PRERELEASE to VS_FF_PRERELEASE for beta and 0 for release.
#define VER_FF_PRERELEASE 0

//******************************************************************************
//***** Fixed Version Defines
//******************************************************************************

#define VER_INTERNALNAME_STR "PUNZIP"
#define VER_PRODUCT_STR      "Pocket UnZip\256"
#define VER_DEVELOPER_STR    "Steve P. Miller (stevemil@pobox.com)"
#define VER_COMMENT_STR      "Pocket UnZip is built on top of Info-ZIP's UnZip 5.30 source code."

#define VER_FILENAME_STR     VER_INTERNALNAME_STR ".EXE"
#define VER_VERSION          VERSION_MAJOR,VERSION_MINOR,VERSION_PRIVATE,VERSION_PATCH

#define VER_COMPANY_STR      VER_DEVELOPER_STR
#define VER_COPYRIGHT_STR    "Copyright \251 1997 Steve P. Miller.  All Rights Reserved."


#if defined(_X86_) || defined(_M_IX86)
   #define VER_ARCH " (Intel x86)"
#elif defined(_MIPS_) || defined(_M_MRX000)
   #define VER_ARCH " (MIPS)"
#elif defined(_SH3_)
   #define VER_ARCH " (Hitachi SH-3)"
#elif defined(_PPC_) || defined(_M_PPC)
   #define VER_ARCH " (IBM PowerPC)"
#elif defined(_ALPHA_) || defined(_M_ALPHA)
   #define VER_ARCH " (DEC Alpha)"
#elif defined(_M_MPPC)
   #define VER_ARCH " (Macintosh PowerPC)"
#elif defined(_M_M68K)
   #define VER_ARCH " (Macintosh 68K)"
#else
   #define VER_ARCH ""
#endif


#ifdef _DEBUG
   #define VER_FF_DEBUG          VS_FF_DEBUG
#else
   #define VER_FF_DEBUG          0
#endif

#if (VERSION_PATCH > 0)
   #define VER_FF_PATCHED        VS_FF_PATCHED
#else
   #define VER_FF_PATCHED        0
#endif

#if (VERSION_PRIVATE > 0)
   #define VER_FF_PRIVATEBUILD   VS_FF_PRIVATEBUILD
#else
   #define VER_FF_PRIVATEBUILD   0
#endif

#ifdef _DEBUG
   #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
      #define VER_VERSION_STR    VERSION_STRING " Beta (Debug)"
   #else
      #define VER_VERSION_STR    VERSION_STRING " (Debug)"
   #endif
#else   
   #if (VER_FF_PRERELEASE == VS_FF_PRERELEASE)
      #define VER_VERSION_STR    VERSION_STRING " Beta"
   #else
      #define VER_VERSION_STR    VERSION_STRING
   #endif
#endif

#ifdef _WIN32_WCE
#define VER_FULLPRODUCT_STR      VER_PRODUCT_STR " for Windows\256 CE" VER_ARCH
#define VER_FULLVERSION_STR      VER_VERSION_STR " for Windows\256 CE" VER_ARCH
#else
#define VER_FULLPRODUCT_STR      VER_PRODUCT_STR " for Windows\256 NT" VER_ARCH
#define VER_FULLVERSION_STR      VER_VERSION_STR " for Windows\256 NT" VER_ARCH
#endif

//******************************************************************************
//***** VERSIONINFO Resource
//******************************************************************************

#ifdef RC_INVOKED

VS_VERSION_INFO VERSIONINFO

   FILEVERSION    VER_VERSION
   PRODUCTVERSION VER_VERSION
   FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
   FILEFLAGS      VER_FF_PRERELEASE | VER_FF_DEBUG | VER_FF_PATCHED | VER_FF_PRIVATEBUILD
   FILEOS         VOS__WINDOWS32
   FILETYPE       VFT_APP
   FILESUBTYPE    VFT2_UNKNOWN
   
   BEGIN
      BLOCK "StringFileInfo"
      BEGIN
         BLOCK "040904B0"     // 0x0409 = U.S. English, 0x04B0 = Unicode
         BEGIN 
             VALUE "CompanyName",     VER_COMPANY_STR "\0"
             VALUE "FileDescription", VER_FULLPRODUCT_STR "\0"
             VALUE "FileVersion",     VER_FULLVERSION_STR "\0"
             VALUE "InternalName",    VER_INTERNALNAME_STR "\0"
             VALUE "LegalCopyright",  VER_COPYRIGHT_STR "\0"
             VALUE "OriginalFilename",VER_FILENAME_STR "\0"
             VALUE "ProductName",     VER_PRODUCT_STR "\0"
             VALUE "ProductVersion",  VER_VERSION_STR "\0"
             VALUE "Comments",        VER_COMMENT_STR "\0"
         END
      END
    
      BLOCK "VarFileInfo" 
      BEGIN 
         // English language (0x0409) and the Unicode codepage (1200)
         VALUE "Translation", 0x0409, 1200
      END
   END

#endif // RC_INVOKED

#endif // __PUNZIP_RCV__