summaryrefslogtreecommitdiffstats
path: root/ComLightLib/comLightServer.h
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-16 14:52:43 +0100
committerKonstantin <const@const.me>2023-01-16 14:52:43 +0100
commit8c4603c73675958efc960fbd4bb599a2909d106a (patch)
tree714dc6fc9a1672d5fd7f89676b97e10959662abc /ComLightLib/comLightServer.h
parent990a8d0dbaefc996244097397259e92758b15cce (diff)
Source codes
Diffstat (limited to 'ComLightLib/comLightServer.h')
-rw-r--r--ComLightLib/comLightServer.h15
1 files changed, 15 insertions, 0 deletions
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