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
//! \ingroup vreUtil
8
//! \brief Defines export macros for the VREngage Utility library
9
//!
10
//! This file contains platform-specific export macros that control the visibility
11
//! of functions and classes in the VREngage Utility library. These macros
12
//! ensure proper symbol export when building the library and proper import when
13
//! using the library in other components of the VREngage system.
14
15
#pragma once
16
17
//! \name DLL Export/Import Macros
18
//! @{
19
20
#ifdef _WIN32
21
#ifdef UTIL_EXPORTS
22
//! \brief Export macro for Windows platform
23
//!
24
//! When building the VREngage Utility library, this macro expands to
25
//! __declspec(dllexport) to make symbols visible to clients of the library.
26
#define UTIL_DLL __declspec(dllexport)
27
#else
28
//! \brief Import macro for Windows platform
29
//!
30
//! When using the VREngage Utility library, this macro expands to
31
//! __declspec(dllimport) to properly import symbols from the library.
32
#define UTIL_DLL __declspec(dllimport)
33
#endif
34
#else
35
//! \brief Export/import macro for non-Windows platforms
36
//!
37
//! On non-Windows platforms, this macro expands to nothing as these platforms
38
//! typically handle symbol visibility differently.
39
#define UTIL_DLL
40
#endif
41
42
//! @}
Generated on 2026-01-13 from SVN revision 282860 - Copyright © 2005-2026 MAK Technologies. All Rights Reserved.