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