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 vreSensorInfoManager
8//! \brief Export macros for the VREngage Sensor Information Manager library
9//!
10//! This file defines the export/import macros for the vreSensorInfoManager library,
11//! which handles classes that need to cross DLL boundaries.
12
13#pragma once
14
15
16//! \brief Platform-specific DLL export/import declaration
17//!
18//! This macro defines the appropriate export/import declaration for Windows DLLs
19//! and establishes proper visibility for shared libraries on other platforms.
20//! It is used to properly export classes and functions from the vreSensorInfoManager library.
21#ifdef _WIN32
22 #ifdef VRESENSORINFOMANAGER_EXPORTS
23 #define VRESENSORINFOMANAGER_DLL __declspec(dllexport)
24 #else
25 #define VRESENSORINFOMANAGER_DLL __declspec(dllimport)
26 #endif
27#else
28 #define VRESENSORINFOMANAGER_DLL
29#endif