VR-Engage  2.2
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file export.h
7//! \brief Defines export macros for the Spectator Frontend library
8//! \ingroup vreSpectatorFrontend
9
10#pragma once
11
12//! \name DLL Export/Import Macros
13//! @{
14
15#ifdef _WIN32
16 #ifdef SPECTATORFRONTEND_EXPORTS
17 //! \brief Export macro for Windows DLL symbols
18 #define SPECTATOR_DLL __declspec(dllexport)
19 #else
20 //! \brief Import macro for Windows DLL symbols
21 #define SPECTATOR_DLL __declspec(dllimport)
22 #endif
23#else
24 //! \brief Export/import macro for non-Windows platforms (empty)
25 #define SPECTATOR_DLL
26#endif
27
28//! @}