VR-Engage  2.2
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2024 MAK Technologies, Inc.
3** All rights reserved.
4*******************************************************************************/
5
6//! \file export.h
7//! \brief Export macros for the VR-Forces Vortex extension library
8//! \ingroup vreVrfVortex
9
10#pragma once
11
12#ifdef _WIN32
13 #ifdef VREVRFVORTEX_EXPORTS
14 //! \brief Export macro for Windows DLL functions and classes
15 //!
16 //! Expands to __declspec(dllexport) when building the library and
17 //! __declspec(dllimport) when using the library.
18 #define VREVRFVORTEX_DLL __declspec(dllexport)
19 #else
20 //! \brief Import macro for Windows DLL functions and classes
21 //!
22 //! Expands to __declspec(dllimport) when using the library.
23 #define VREVRFVORTEX_DLL __declspec(dllimport)
24 #endif
25#else
26 //! \brief Export macro for non-Windows platforms
27 //!
28 //! Expands to nothing on non-Windows platforms where
29 //! these visibility attributes are not required.
30 #define VREVRFVORTEX_DLL
31#endif