From 8c4603c73675958efc960fbd4bb599a2909d106a Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 16 Jan 2023 14:52:43 +0100 Subject: Source codes --- ComLightLib/comLightServer.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ComLightLib/comLightServer.h (limited to 'ComLightLib/comLightServer.h') diff --git a/ComLightLib/comLightServer.h b/ComLightLib/comLightServer.h new file mode 100644 index 0000000..8b2e844 --- /dev/null +++ b/ComLightLib/comLightServer.h @@ -0,0 +1,15 @@ +#pragma once +#include "comLightCommon.h" +#include "client/CComPtr.hpp" + +#include "server/ObjectRoot.hpp" +#include "server/interfaceMap.h" +#include "server/Object.hpp" +#include "server/freeThreadedMarshaller.h" + +#ifdef _MSC_VER +// On Windows, it's controlled by library.def module definition file. There's __declspec(dllexport), but it adds underscore, I don't like that. +#define DLLEXPORT extern "C" +#else +#define DLLEXPORT extern "C" __attribute__((visibility("default"))) +#endif \ No newline at end of file -- cgit v1.2.3