xref: /aoo41x/main/solenv/inc/shlinfo.rc (revision 534c536d)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#if !defined(ENGLISH)
25#define LG_D 					// generate always german version
26#endif
27
28#define VER_FIRSTYEAR	2010
29
30
31#if defined(OS2)
32
33#define OS2_VERSION "hello world"
34
35// YD write some default code...
36MENU 1 BEGIN END
37
38#else
39
40#include <windows.h>
41#include "version.hrc"
42
43// -----------------------------------------------------------------------
44// 				version information
45// -----------------------------------------------------------------------
46
47VS_VERSION_INFO versioninfo
48#ifndef SUBVERSION
49	fileversion    VERSION, 0, VERVARIANT, VER_COUNT
50	productversion VERSION, 0, VERVARIANT, VER_COUNT
51#else
52	fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
53	productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
54#endif
55	fileflagsmask 0x3F
56	fileflags
57#if defined(DEBUG)
58	VS_FF_DEBUG |
59#endif
60#ifdef VER_PREL
61	VS_FF_PRERELEASE |
62#endif
63	0
64#ifndef WIN32
65	fileos VOS_DOS_WINDOWS16
66#else
67	fileos VOS_NT_WINDOWS32
68#endif
69	filetype VFT_APP
70	{
71		block "StringFileInfo"
72		{
73#ifdef LG_D
74			block "040704E4"
75			{
76				// German StringTable
77				value "CompanyName",		"OpenOffice.org\0"
78				value "FileVersion",		PPS(VER_LEVEL) "\0"
79				value "OriginalFilename",	PPS(ORG_NAME) "\0"
80				value "InternalName", 		PPS(INTERNAL_NAME) "\0"
81				value "LegalCopyright",		S_CRIGHT " Oracle, Inc.\0"
82				ADDITIONAL_VERINFO1
83				ADDITIONAL_VERINFO2
84				ADDITIONAL_VERINFO3
85			}
86#else
87			block "040904E4"
88			{
89				// International StringTable
90				value "CompanyName",		"OpenOffice.org\0"
91				value "FileVersion",		PPS(VER_LEVEL) "\0"
92				value "OriginalFilename",	PPS(ORG_NAME) "\0"
93				value "InternalName", 		PPS(INTERNAL_NAME) "\0"
94				value "LegalCopyright", 	S_CRIGHT " Oracle, Inc.\0"
95				ADDITIONAL_VERINFO1
96				ADDITIONAL_VERINFO2
97				ADDITIONAL_VERINFO3
98			}
99#endif
100		}
101
102		block "VarFileInfo"
103		{
104#ifdef LG_D
105			value "Translation", 0x0407, 1252
106#else
107			value "Translation", 0x0409, 1252
108#endif
109		}
110	}
111
112#endif // OS2
113