2000-09-20 08:43:26 -05:00
|
|
|
/*************************************************************************
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* $RCSfile: shlinfo.rc,v $
|
2008-07-22 10:50:25 -05:00
|
|
|
* $Revision: 1.12 $
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
2008-04-10 11:37:54 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-10-30 09:25:56 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2007-07-18 08:58:24 -05:00
|
|
|
#define VERSION 2
|
|
|
|
#define SUBVERSION 3
|
|
|
|
#define VERVARIANT 0
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
// .0 + VER_CONCEPT
|
|
|
|
// .100 + VER_ALPHA
|
|
|
|
// .200 + VER_BETA
|
|
|
|
// .300 + VER_GAMMA
|
|
|
|
// .500 + VER_FINAL
|
|
|
|
//#define VER_CONCEPT 0
|
|
|
|
//#define VER_BETA 6
|
|
|
|
#define VER_FINAL 0
|
|
|
|
|
2003-06-20 04:33:45 -05:00
|
|
|
#define VER_DAY 1
|
2007-07-18 08:58:24 -05:00
|
|
|
#define VER_MONTH 9
|
|
|
|
#define VER_YEAR 2007
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#if !defined(ENGLISH)
|
|
|
|
#define LG_D // generate always german version
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define VER_FIRSTYEAR VER_YEAR
|
|
|
|
|
2008-07-22 10:50:25 -05:00
|
|
|
|
|
|
|
#if defined(OS2)
|
|
|
|
|
|
|
|
#define OS2_VERSION "hello world"
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
#include <windows.h>
|
|
|
|
#include "verinfo.hrc"
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
#define FOR_WIN_X " (32 Bit)"
|
|
|
|
#else
|
|
|
|
#define FOR_WIN_X ""
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
// language/character set specification table
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
|
|
|
|
RCD_LANGUAGE rcdata
|
|
|
|
{
|
|
|
|
#ifdef LG_D
|
|
|
|
"040704B0", // Germany -> Unicode
|
|
|
|
"040704E4", // Germany -> Windows, Multilingual
|
|
|
|
#else
|
|
|
|
"040904B0", // Germany -> Unicode
|
|
|
|
"040904E4", // USA -> Windows, Multilingual
|
|
|
|
#endif
|
|
|
|
"04090000", // USA -> 7-Bit-ASCII
|
|
|
|
0 // end of table
|
|
|
|
}
|
|
|
|
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
// version information
|
|
|
|
// -----------------------------------------------------------------------
|
|
|
|
|
|
|
|
VS_VERSION_INFO versioninfo
|
2003-06-30 08:36:02 -05:00
|
|
|
#ifndef SUBVERSION
|
|
|
|
fileversion VERSION, 0, 0, VERVARIANT
|
|
|
|
productversion VERSION, 0, 0, VERVARIANT
|
|
|
|
#else
|
2003-06-20 04:33:45 -05:00
|
|
|
fileversion VERSION, VERVARIANT, VER_COUNT
|
|
|
|
productversion VERSION, VERVARIANT, VER_COUNT
|
2003-06-30 08:36:02 -05:00
|
|
|
#endif
|
2000-09-20 08:43:26 -05:00
|
|
|
fileflagsmask 0x3F
|
|
|
|
fileflags
|
|
|
|
#if defined(DEBUG)
|
|
|
|
VS_FF_DEBUG |
|
|
|
|
#endif
|
|
|
|
#ifdef VER_PREL
|
|
|
|
VS_FF_PRERELEASE |
|
|
|
|
#endif
|
|
|
|
0
|
|
|
|
#ifndef WIN32
|
|
|
|
fileos VOS_DOS_WINDOWS16
|
|
|
|
#else
|
|
|
|
fileos VOS_NT_WINDOWS32
|
|
|
|
#endif
|
|
|
|
filetype VFT_APP
|
|
|
|
{
|
|
|
|
block "StringFileInfo"
|
|
|
|
{
|
|
|
|
#ifdef LG_D
|
|
|
|
block "040704E4"
|
|
|
|
{
|
|
|
|
// German StringTable
|
|
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
2004-08-20 04:09:40 -05:00
|
|
|
ADDITIONAL_VERINFO1
|
|
|
|
ADDITIONAL_VERINFO2
|
|
|
|
ADDITIONAL_VERINFO3
|
2000-09-20 08:43:26 -05:00
|
|
|
}
|
|
|
|
#else
|
|
|
|
block "040904E4"
|
|
|
|
{
|
|
|
|
// International StringTable
|
|
|
|
value "CompanyName", "Sun Microsystems, Inc.\0"
|
|
|
|
value "FileVersion", PPS(VER_LEVEL) "\0"
|
|
|
|
value "OriginalFilename", PPS(ORG_NAME) "\0"
|
|
|
|
value "InternalName", PPS(INTERNAL_NAME) "\0"
|
|
|
|
value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
|
2004-08-20 04:09:40 -05:00
|
|
|
ADDITIONAL_VERINFO1
|
|
|
|
ADDITIONAL_VERINFO2
|
|
|
|
ADDITIONAL_VERINFO3
|
2000-09-20 08:43:26 -05:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
block "VarFileInfo"
|
|
|
|
{
|
|
|
|
#ifdef LG_D
|
|
|
|
value "Translation", 0x0407, 1252
|
|
|
|
#else
|
|
|
|
value "Translation", 0x0409, 1252
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// version binary entry
|
|
|
|
VS_VERSION_INFO rcdata
|
|
|
|
{
|
|
|
|
0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY,
|
2003-06-20 04:33:45 -05:00
|
|
|
VERSION, VERVARIANT, VER_COUNT
|
2000-09-20 08:43:26 -05:00
|
|
|
};
|
|
|
|
|
2008-07-22 10:50:25 -05:00
|
|
|
#endif // OS2
|