SynthLab SDK
synthlabdll.h
1 // -----------------------------
2 // --- SynthLab SDK File --- //
3 // ----------------------------
13 #define NOMINMAX
14 
15 // *** NOTE: relative paths to SDK files ********************************************
16 // these are setup so that ModuleCore DM projects are compiled directly
17 // from the SDK itself with minimal effort
18 //
19 // You may want to adjust these to suit your particular development folder
20 // system if you only want to use parts of the SDK or plan on modifying
21 // SDK files, or need to alter the folder hierarchy for your setup.
22 // **********************************************************************************
23 #include "../../../../source/synthbase.h"
24 
25 // --- Exported ModuleCore Creation Function
26 #if defined _WIN32 || defined _WIN64
27 #include <windows.h>
28 
29 #define DllExport extern "C" __declspec(dllexport)
30 DllExport SynthLab::ModuleCore* createModuleCore();
31 
32 #else
33 
34 #define EXPORT __attribute__((visibility("default")))
35 EXPORT
36 extern "C" SynthLab::ModuleCore* createModuleCore();
37 
38 #endif
Abstract base class that encapsulates functionality of a module core; used with the Module-Core parad...
Definition: synthbase.h:1516