Go to the source code of this file.
◆ FX_DEFINE_DYNAMIC_MODULE
#define FX_DEFINE_DYNAMIC_MODULE |
( |
|
_UserModuleClass, |
|
|
|
_Application |
|
) |
| |
Value:
extern "C" { \
__declspec(dllexport)
OdRxModule* odrxCreateModuleObject(HMODULE& hModule) \
{ \
if(!g_pSingletonModule) \
{ \
{ \
g_pSingletonModule = OdRxWin32Module<_UserModuleClass >::createModule(hModule); \
} \
hModule = 0; \
} \
return g_pSingletonModule; \
} \
__declspec(dllexport) void odrxGetAPIVersion(int& nMajorVersion, int& nMinorVersion, \
int& nMajorBuildVersion, int& nMinorBuildVersion) \
{ \
} \
}
DDKERNEL_API CFxSystemServices * GetFxSystemServices() noexcept
bool equalNoCase(const OdChar *lpsz) const
static CFxString from_ansi_str(const char *data)
virtual CFxHostAppServices * GetHostAppServices() noexcept=0
virtual const OdString program()
Description: Creates the entry point function for an ARES custom application. It will be checked if the core application can load this custom application. Usage: FX_DEFINE_DYNAMIC_MODULE( MyModule, "ARES Commander Edition" );
Definition at line 32 of file FxInit.h.