Ocean
meta/quest/openxr/OpenXR.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_PLATFORM_META_QUEST_OPENXR_OPEN_XR_H
9 #define META_OCEAN_PLATFORM_META_QUEST_OPENXR_OPEN_XR_H
10 
12 
13 namespace Ocean
14 {
15 
16 namespace Platform
17 {
18 
19 namespace Meta
20 {
21 
22 namespace Quest
23 {
24 
25 namespace OpenXR
26 {
27 
28 /**
29  * @ingroup platformmetaquest
30  * @defgroup platformmetaquestopenxr Ocean Platform Meta Quest OpenXR Library
31  * @{
32  * The Ocean Meta Quest OpenXR Library provides specific functionalities for Meta's Quest platform via OpenXR.
33  * The library is available on Meta Quest OpenXR platforms only.
34  * @}
35  */
36 
37 /**
38  * @namespace Ocean::Platform::Meta::Quest::OpenXR Namespace of the Platform Meta Quest OpenXR library.<p>
39  * The Namespace Ocean::Platform::Meta::Quest::OpenXR is used in the entire Ocean Platform Meta Quest OpenXR Library.
40  */
41 
42 // Defines OCEAN_PLATFORM_META_QUEST_OPENXR_EXPORT for dll export and import.
43 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
44  #ifdef USE_OCEAN_PLATFORM_META_QUEST_OPENXR_EXPORT
45  #define OCEAN_PLATFORM_META_QUEST_OPENXR_EXPORT __declspec(dllexport)
46  #else
47  #define OCEAN_PLATFORM_META_QUEST_OPENXR_EXPORT __declspec(dllimport)
48  #endif
49 #else
50  #define OCEAN_PLATFORM_META_QUEST_OPENXR_EXPORT
51 #endif
52 
53 }
54 
55 }
56 
57 }
58 
59 }
60 
61 }
62 
63 #endif // META_OCEAN_PLATFORM_META_QUEST_OPENXR_OPEN_XR_H
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15