/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "version.hrc"


//                 version information


VS_VERSION_INFO VERSIONINFO
    FILEVERSION    VERSION, SUBVERSION, MICROVERSION, VERVARIANT
    PRODUCTVERSION VERSION, SUBVERSION, MICROVERSION, VERVARIANT
    FILEFLAGSMASK 0x3F
    FILEFLAGS
#if OSL_DEBUG_LEVEL >= 2
    VS_FF_DEBUG |
#endif
#ifdef VER_PREL
    VS_FF_PRERELEASE |
#endif
    0
    FILEOS VOS_NT_WINDOWS32
    FILETYPE VFT_APP
    {
        BLOCK "StringFileInfo"
        {
            BLOCK "040904E4"
            {
                // International StringTable
                VALUE "CompanyName",      PPS(RES_APP_VENDOR) "\0"
                VALUE "ProductName",      "LibreOffice\0"
                VALUE "ProductVersion",   PPS(VER_LEVEL) "\0"
                VALUE "FileVersion",      PPS(VER_LEVEL) "\0"
                VALUE "OriginalFilename", PPS(ORG_NAME) "\0"
                VALUE "InternalName",     PPS(INTERNAL_NAME) "\0"
                VALUE "LegalCopyright",   S_CRIGHT " LibreOffice contributors. All rights reserved.\0"
                ADDITIONAL_VERINFO1
                ADDITIONAL_VERINFO2
                ADDITIONAL_VERINFO3
            }
        }

        BLOCK "VarFileInfo"
        {
            VALUE "Translation", 0x0409, 1252
        }
    }
