Ocean
Win.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_WIN_WIN_H
9
#define META_OCEAN_PLATFORM_WIN_WIN_H
10
11
#include "
ocean/platform/Platform.h
"
12
13
#ifndef _WINDOWS
14
#error This library is available on windows platforms only!
15
#endif
// _WINDOWS
16
17
#include <winsock2.h>
18
#include <
windows.h
>
19
20
namespace
Ocean
21
{
22
23
namespace
Platform
24
{
25
26
namespace
Win
27
{
28
29
/**
30
* @ingroup platform
31
* @defgroup platformwin Ocean Platform Win Library
32
* @{
33
* The Ocean Win Library provides specific functionalities for windows platforms.
34
* The library is available on windows platforms only.
35
* @}
36
*/
37
38
/**
39
* @namespace Ocean::Platform::Win Namespace of the Platform Win library.<p>
40
* The Namespace Ocean::Platform::Win is used in the entire Ocean Platform Win Library.
41
*/
42
43
// Defines OCEAN_PLATFORM_WIN_EXPORT for dll export and import.
44
#if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
45
#ifdef USE_OCEAN_PLATFORM_WIN_EXPORT
46
#define OCEAN_PLATFORM_WIN_EXPORT __declspec(dllexport)
47
#else
48
#define OCEAN_PLATFORM_WIN_EXPORT __declspec(dllimport)
49
#endif
50
#else
51
#define OCEAN_PLATFORM_WIN_EXPORT
52
#endif
53
54
}
55
56
}
57
58
}
59
60
#endif
// META_OCEAN_PLATFORM_WIN_WIN_H
Platform.h
Windows.h
Ocean
The namespace covering the entire Ocean framework.
Definition:
Accessor.h:15
impl
ocean
platform
win
Win.h
Generated on Wed Nov 13 2024 18:48:19 for Ocean by
1.9.1