1 | /** @file
|
---|
2 | * Version management
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2007 innotek GmbH
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License as published by the Free Software Foundation,
|
---|
12 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef ___VBox_version_h
|
---|
18 | #define ___VBox_version_h
|
---|
19 |
|
---|
20 | #ifndef RC_INVOKED
|
---|
21 | #include <version-generated.h>
|
---|
22 |
|
---|
23 | /** Combined version number. */
|
---|
24 | #define VBOX_VERSION (VBOX_VERSION_MAJOR << 16 | VBOX_VERSION_MINOR)
|
---|
25 | /** Get minor version from combined version */
|
---|
26 | #define VBOX_GET_VERSION_MINOR(uVer) (uVer & 0xffff)
|
---|
27 | /** Get major version from combined version. */
|
---|
28 | #define VBOX_GET_VERSION_MAJOR(uVer) (uVer >> 16)
|
---|
29 | #endif
|
---|
30 |
|
---|
31 | /** Vendor name */
|
---|
32 | #define VBOX_VENDOR "innotek GmbH"
|
---|
33 |
|
---|
34 | /** Prefined strings for Windows resource files */
|
---|
35 | #define VBOX_RC_COMPANY_NAME VBOX_VENDOR
|
---|
36 | #define VBOX_RC_LEGAL_COPYRIGHT "Copyright (C) 2004-2007 innotek GmbH\0"
|
---|
37 | #define VBOX_RC_PRODUCT_VERSION VBOX_VERSION_MAJOR_NR , VBOX_VERSION_MINOR_NR , 0 , 0
|
---|
38 | #define VBOX_RC_FILE_VERSION VBOX_VERSION_MAJOR_NR , VBOX_VERSION_MINOR_NR , 0 , 0
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|