3 #include "INPLAcitvationFile.h" 7 class INPLRuntimeState;
23 typedef NPL::NPLReturnCode(*NPL_Activate_CallbackFunc) (
INPLRuntimeState* pState);
26 virtual ~NPL_C_Func_ActivationFile(){};
30 void SetFunctionByName(
const std::string& filename);
32 NPL_Activate_CallbackFunc m_pFuncCallBack;
this is a sample code of how to explicitly define a INPLActivationFile handler in C++...
Definition: NPLActivationFile.h:37
define this to enable debugging of NPL code in visual studio
Definition: INPL.h:9
INPLRuntimeState interface for DLL interface.
Definition: INPLRuntimeState.h:27
virtual NPL::NPLReturnCode OnActivate(INPLRuntimeState *pState)
Function to be called when NPL.activate(filename, {msg}); subclass should always overwrite this funct...
Definition: NPLActivationFile.cpp:24
Definition: INPLAcitvationFile.h:18
for automatic C function NPL.activate() without registration.
Definition: NPLActivationFile.h:20