This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Libovr 1.30 Reference Guide

OVR_Version.h File Reference

Macros

#define
OVR_STRINGIZEIMPL
Conventional string-ification macro.
#define
OVR_STRINGIZE
#define
OVR_PRODUCT_VERSION
#define
OVR_MAJOR_VERSION
#define
OVR_MINOR_VERSION
#define
OVR_PATCH_VERSION
#define
OVR_BUILD_NUMBER
#define
OVR_DLL_COMPATIBLE_VERSION
#define
OVR_MIN_REQUESTABLE_MINOR_VERSION
#define
OVR_FEATURE_VERSION
#define
OVR_VERSION_STRING
"Major.Minor.Patch"
#define
OVR_DETAILED_VERSION_STRING
"Major.Minor.Patch.Build"
#define
OVR_FILE_DESCRIPTION_STRING
file description for version info This appears in the user-visible file properties.

Macros Documentation

#define OVR_STRINGIZEIMPL
Conventional string-ification macro.
#define OVR_STRINGIZE
#define OVR_PRODUCT_VERSION
#define OVR_MAJOR_VERSION
#define OVR_MINOR_VERSION
#define OVR_PATCH_VERSION
#define OVR_BUILD_NUMBER
#define OVR_DLL_COMPATIBLE_VERSION
#define OVR_MIN_REQUESTABLE_MINOR_VERSION
#define OVR_FEATURE_VERSION
#define OVR_VERSION_STRING
"Major.Minor.Patch"
#define OVR_DETAILED_VERSION_STRING
"Major.Minor.Patch.Build"
#define OVR_FILE_DESCRIPTION_STRING
file description for version info This appears in the user-visible file properties.
It is intended to convey publicly available additional information such as feature builds.
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
39
40
41
42
44
45
46
47
48
52
53
54
55
56
57
58
59
60
/*************************************************************************************
 \file      OVR_Version.h
 \brief     This header provides LibOVR version identification.
 \copyright Copyright 2014-2016 Oculus VR, LLC All Rights reserved.
 *************************************************************************************/

#ifndef OVR_Version_h
#define OVR_Version_h


#if !defined(OVR_STRINGIZE)
#define OVR_STRINGIZEIMPL(x) #x
#define OVR_STRINGIZE(x) OVR_STRINGIZEIMPL(x)
#endif

// Master version numbers
#define OVR_PRODUCT_VERSION 1 // Product version doesn't participate in semantic versioning.
#define OVR_MAJOR_VERSION 1 // If you change these values then you need to also make sure to change
// LibOVR/Projects/Windows/LibOVR.props in parallel.
#define OVR_MINOR_VERSION 31 //
#define OVR_PATCH_VERSION 0
#define OVR_BUILD_NUMBER 0

// This is the ((product * 100) + major) version of the service that the DLL is compatible with.
// When we backport changes to old versions of the DLL we update the old DLLs
// to move this version number up to the latest version.
// The DLL is responsible for checking that the service is the version it supports
// and returning an appropriate error message if it has not been made compatible.
#define OVR_DLL_COMPATIBLE_VERSION 101

// This is the minor version representing the minimum version an application can query with this
// SDK. Calls ovr_Initialize will fail if the application requests a version that is less than this.
#define OVR_MIN_REQUESTABLE_MINOR_VERSION 17

#define OVR_FEATURE_VERSION 0

#if !defined(OVR_VERSION_STRING)
#define OVR_VERSION_STRING OVR_STRINGIZE(OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION)
#endif

#if !defined(OVR_DETAILED_VERSION_STRING)
#define OVR_DETAILED_VERSION_STRING \
  OVR_STRINGIZE(OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION.OVR_BUILD_NUMBER)
#endif

#if !defined(OVR_FILE_DESCRIPTION_STRING)
#if defined(_DEBUG)
#define OVR_FILE_DESCRIPTION_STRING "dev build debug"
#else
#define OVR_FILE_DESCRIPTION_STRING "dev build"
#endif
#endif

#endif // OVR_Version_h
The documentation for this file was generated from the following file: Include/OVR_Version.h