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