19 #define UCOM_PLUGIN_EXPORT __declspec(dllexport)
20 #define UCOM_PLUGIN_IMPORT __declspec(dllimport)
21 #define UCOM_PLUGIN_CALLTYPE
22 #define UCOM_PLUGIN_FUNCTION_DECL_BEGIN extern "C" { UCOM_PLUGIN_EXPORT int32_t UCOM_PLUGIN_CALLTYPE
23 #define UCOM_PLUGIN_FUNCTION_DECL_END }
25 #define UCOM_PLUGIN_IMPORT
26 #define UCOM_PLUGIN_EXPORT
27 #define UCOM_PLUGIN_CALLTYPE
28 #define UCOM_PLUGIN_FUNCTION_DECL_BEGIN extern "C" { __attribute__ ((visibility("default"))) int32_t
29 #define UCOM_PLUGIN_FUNCTION_DECL_END }
34 #define UCOM_GET_VERSION_PLUGIN_SYMBOL "UCOM_GetVersion3"
36 #define UCOM_LOAD_PLUGIN_SYMBOL "UCOM_LoadPlugin3"
38 #define UCOM_UNLOAD_PLUGIN_SYMBOL "UCOM_UnloadPlugin3"
41 typedef UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE *
fnUCOMGetVersion)(
const char* strVersionID, uint32_t* pui32UCOMMajor, uint32_t* pui32UCOMMinor, uint32_t* pui32UCOMPatch);
43 typedef UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE *
fnUCOMLoadPlugin)(
void* pvRuntimeInstance, uint32_t ui32UCOMMajor, uint32_t ui32UCOMMinor, uint32_t ui32UCOMPatch,
void** ppvPluginObject,
tHandle hModule);
61 UCOM_PLUGIN_FUNCTION_DECL_BEGIN UCOM_GetVersion3(
const char* strVersionID,
64 uint32_t* pui32Patch);
65 UCOM_PLUGIN_FUNCTION_DECL_END
67 UCOM_PLUGIN_FUNCTION_DECL_BEGIN UCOM_LoadPlugin3(
void* pvRuntimeInstance,
73 UCOM_PLUGIN_FUNCTION_DECL_END
75 UCOM_PLUGIN_FUNCTION_DECL_BEGIN UCOM_UnloadPlugin3(
void);
76 UCOM_PLUGIN_FUNCTION_DECL_END
tVoid * tHandle
type definition for a handle value (platform and compiler dependent type).
A common result class usable as return value throughout.
Base object pointer to realize binary compatible reference counting in interface methods.
UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * fnUCOMGetVersion)(const char *strVersionID, uint32_t *pui32UCOMMajor, uint32_t *pui32UCOMMinor, uint32_t *pui32UCOMPatch)
function for the c - Plugin Entry to load a plugin
tResult get_plugin(iobject_ptr< IPlugin > &pPlugin)
Returns a reference to the plugin instance of the current module.
UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * fnUCOMLoadPlugin)(void *pvRuntimeInstance, uint32_t ui32UCOMMajor, uint32_t ui32UCOMMinor, uint32_t ui32UCOMPatch, void **ppvPluginObject, tHandle hModule)
function for the c - Plugin Entry to load a plugin
UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * fnUCOMUnloadPlugin)()
function for the c - Plugin Entry to unload a plugin
Namespace for entire ADTF SDK.