1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
-
- #define OV_TypeId_Color OpenViBE::CIdentifier(0x7F45A2A9, 0x7DB12219)
- #define OV_TypeId_ColorGradient OpenViBE::CIdentifier(0x3D3C7C7F, 0xEF0E7129)
-
- #define OVP_ClassId_Plugin_VisualizationCtx OpenViBE::CIdentifier(0x05A7171D, 0x78E4FE3C)
- #define OVVIZ_MetadataIdentifier_VisualizationTree OpenViBE::CIdentifier(0x3BCCE5D2, 0x43F2D968)
-
- //___________________________________________________________________//
- // //
- // API Definition //
- //___________________________________________________________________//
- // //
-
- // Taken from
- // - http://people.redhat.com/drepper/dsohowto.pdf
- // - http://www.nedprod.com/programs/gccvisibility.html
- #if defined OVVIZ_Shared
- #if defined TARGET_OS_Windows
- #define OVVIZ_API_Export __declspec(dllexport)
- #define OVVIZ_API_Import __declspec(dllimport)
- #elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS
- #define OVVIZ_API_Export __attribute__((visibility("default")))
- #define OVVIZ_API_Import __attribute__((visibility("default")))
- #else
- #define OVVIZ_API_Export
- #define OVVIZ_API_Import
- #endif
- #else
- #define OVVIZ_API_Export
- #define OVVIZ_API_Import
- #endif
-
- #if defined OVVIZ_Exports
- #define OVVIZ_API OVVIZ_API_Export
- #else
- #define OVVIZ_API OVVIZ_API_Import
- #endif
|