Ocean
GLWxWidgets.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_GL_WXWIDGETS_GL_WXWIDGETS_H
9
#define META_OCEAN_PLATFORM_GL_WXWIDGETS_GL_WXWIDGETS_H
10
11
#include "
ocean/platform/gl/GL.h
"
12
13
#ifdef _WINDOWS
14
#include <winsock2.h>
15
#endif
16
17
#ifdef __clang__
18
#pragma clang diagnostic push
19
#pragma clang diagnostic ignored "-Wcomma"
20
#endif
21
#include <wx/wx.h>
22
#ifdef __clang__
23
#pragma clang diagnostic pop
24
#endif
25
26
namespace
Ocean
27
{
28
29
namespace
Platform
30
{
31
32
namespace
GL
33
{
34
35
namespace
Win
36
{
37
38
/**
39
* @ingroup platformgl
40
* @defgroup platformglwxwidgets Ocean Platform GL WxWidgets Library
41
* @{
42
* The Ocean GL Library provides specific functionalities for OpenGL using WxWidgets.
43
* The library is available for all platforms WxWidgets supports.
44
* @}
45
*/
46
47
/**
48
* @namespace Ocean::Platform::GL::WxWidgets Namespace of the Platform GL WxWidgets library.<p>
49
* The Namespace Ocean::Platform::GL::WxWidgets is used in the entire Ocean Platform GL WxWidgets Library.
50
*/
51
52
// Defines OCEAN_PLATFORM_GL_WXWIDGETS_EXPORT for dll export and import.
53
#if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
54
#ifdef USE_OCEAN_PLATFORM_GL_WXWIDGETS_EXPORT
55
#define OCEAN_PLATFORM_GL_WXWIDGETS_EXPORT __declspec(dllexport)
56
#else
57
#define OCEAN_PLATFORM_GL_WXWIDGETS_EXPORT __declspec(dllimport)
58
#endif
59
#else
60
#define OCEAN_PLATFORM_GL_WXWIDGETS_EXPORT
61
#endif
62
63
}
64
65
}
66
67
}
68
69
}
70
71
#endif
// META_OCEAN_PLATFORM_GL_WXWIDGETS_GL_WXWIDGETS_H
GL.h
Ocean
The namespace covering the entire Ocean framework.
Definition:
Accessor.h:15
impl
ocean
platform
gl
wxwidgets
GLWxWidgets.h
Generated on Thu Nov 14 2024 06:04:22 for Ocean by
1.9.1