VR-Engage
2.2
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2025 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
//! \file
7
//! \brief Defines DLL export/import macros for the vreInput library
8
9
#pragma once
10
11
//! \brief DLL export/import macro for the vreInput library
12
//!
13
//! This macro should be used to properly export/import classes and functions
14
//! from the vreInput library based on the platform and build type.
15
//! - When building the library: classes/functions are exported
16
//! - When using the library: classes/functions are imported
17
//! - On non-Windows platforms: macro is defined as empty
18
#ifdef _WIN32
19
#ifdef VREINPUT_EXPORTS
20
#define VREINPUT_DLL __declspec(dllexport)
//!< Export symbols when building the DLL
21
#else
22
#define VREINPUT_DLL __declspec(dllimport)
//!< Import symbols when using the DLL
23
#endif
24
#else
25
#define VREINPUT_DLL
//!< Empty macro for non-Windows platforms
26
#endif
Generated on 2026-01-13 from SVN revision 282860 - Copyright © 2005-2026 MAK Technologies. All Rights Reserved.