update ooo310-m15
[ooovba.git] / solenv / inc / shlinfo.rc
blobc552a49635a005c66eb72d4109f959bf8e5f31ee
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: shlinfo.rc,v $
10  * $Revision: 1.12 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31 #define VERSION                 3
32 #define SUBVERSION              1
33 #define VERVARIANT              0
35 // .0 + VER_CONCEPT
36 // .100 + VER_ALPHA
37 // .200 + VER_BETA
38 // .300 + VER_GAMMA
39 // .500 + VER_FINAL
40 //#define VER_CONCEPT           0
41 //#define VER_BETA              6
42 #define VER_FINAL               0
44 #define VER_DAY                 1
45 #define VER_MONTH               4
46 #define VER_YEAR                2009
48 // -----------------------------------------------------------------------
50 #if !defined(ENGLISH)
51 #define LG_D                                    // generate always german version
52 #endif
54 #define VER_FIRSTYEAR   VER_YEAR
57 #if defined(OS2)
59 #define OS2_VERSION "hello world"
61 #else
63 #include <windows.h>
64 #include "verinfo.hrc"
66 #ifdef WIN32
67 #define FOR_WIN_X " (32 Bit)"
68 #else
69 #define FOR_WIN_X ""
70 #endif
72 // -----------------------------------------------------------------------
73 //                              language/character set specification table
74 // -----------------------------------------------------------------------
76 RCD_LANGUAGE rcdata
78 #ifdef LG_D
79         "040704B0",     // Germany -> Unicode
80         "040704E4",     // Germany -> Windows, Multilingual
81 #else
82         "040904B0",     // Germany -> Unicode
83         "040904E4",     // USA -> Windows, Multilingual
84 #endif
85         "04090000",     // USA -> 7-Bit-ASCII
86         0                               // end of table
89 // -----------------------------------------------------------------------
90 //                              version information
91 // -----------------------------------------------------------------------
93 VS_VERSION_INFO versioninfo
94 #ifndef SUBVERSION
95         fileversion    VERSION, 0, 0, VERVARIANT
96         productversion VERSION, 0, 0, VERVARIANT
97 #else
98         fileversion    VERSION, VERVARIANT, VER_COUNT
99         productversion VERSION, VERVARIANT, VER_COUNT
100 #endif
101         fileflagsmask 0x3F
102         fileflags
103 #if defined(DEBUG)
104         VS_FF_DEBUG |
105 #endif
106 #ifdef VER_PREL
107         VS_FF_PRERELEASE |
108 #endif
109         0
110 #ifndef WIN32
111         fileos VOS_DOS_WINDOWS16
112 #else
113         fileos VOS_NT_WINDOWS32
114 #endif
115         filetype VFT_APP
116         {
117                 block "StringFileInfo"
118                 {
119 #ifdef LG_D
120                         block "040704E4"
121                         {
122                                 // German StringTable
123                                 value "CompanyName",            "Sun Microsystems, Inc.\0"
124                                 value "FileVersion",            PPS(VER_LEVEL) "\0"
125                                 value "OriginalFilename",       PPS(ORG_NAME) "\0"
126                                 value "InternalName",           PPS(INTERNAL_NAME) "\0"
127                                 value "LegalCopyright",         S_CRIGHT " Sun Microsystems, Inc.\0"
128                                 ADDITIONAL_VERINFO1
129                                 ADDITIONAL_VERINFO2
130                                 ADDITIONAL_VERINFO3
131                         }
132 #else
133                         block "040904E4"
134                         {
135                                 // International StringTable
136                                 value "CompanyName",            "Sun Microsystems, Inc.\0"
137                                 value "FileVersion",            PPS(VER_LEVEL) "\0"
138                                 value "OriginalFilename",       PPS(ORG_NAME) "\0"
139                                 value "InternalName",           PPS(INTERNAL_NAME) "\0"
140                                 value "LegalCopyright",         S_CRIGHT " Sun Microsystems, Inc.\0"
141                                 ADDITIONAL_VERINFO1
142                                 ADDITIONAL_VERINFO2
143                                 ADDITIONAL_VERINFO3
144                         }
145 #endif
146                 }
148                 block "VarFileInfo"
149                 {
150 #ifdef LG_D
151                         value "Translation", 0x0407, 1252
152 #else
153                         value "Translation", 0x0409, 1252
154 #endif
155                 }
156         }
158 // version binary entry
159 VS_VERSION_INFO rcdata
161         0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY,
162         VERSION, VERVARIANT, VER_COUNT
165 #endif // OS2