Ocean
Loading...
Searching...
No Matches
system/System.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_SYSTEM_SYSTEM_H
9#define META_OCEAN_SYSTEM_SYSTEM_H
10
11#include "ocean/base/Base.h"
13
14namespace Ocean
15{
16
17namespace System
18{
19
20/**
21 * @defgroup system Ocean System Library
22 * @{
23 * The Ocean System Library provides all system functionalities.
24 * The library is platform independent.
25 * @}
26 */
27
28/**
29 * @namespace Ocean::System Namespace of the System library.<p>
30 * The Namespace Ocean::System is used in the entire Ocean System Library.
31 */
32
33// Defines OCEAN_SYSTEM_EXPORT for dll export and import.
34#if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
35 #ifdef USE_OCEAN_SYSTEM_EXPORT
36 #define OCEAN_SYSTEM_EXPORT __declspec(dllexport)
37 #else
38 #define OCEAN_SYSTEM_EXPORT __declspec(dllimport)
39 #endif
40#else
41 #define OCEAN_SYSTEM_EXPORT
42#endif
43
44}
45
46}
47
48#endif // META_OCEAN_SYSTEM_SYSTEM_H
The namespace covering the entire Ocean framework.
Definition Accessor.h:15