My Project
|
this is a sample code of how to explicitly define a INPLActivationFile handler in C++. More...
#include <NPLActivationFile.h>
Public Member Functions | |
virtual NPL::NPLReturnCode | OnActivate (INPLRuntimeState *pState) |
example of EXPLICITLY define a function that is callable via NPL. More... | |
![]() | |
void | addref () const |
add reference count of the object. More... | |
bool | delref () const |
decrease reference count of the object. More... | |
int | GetRefCount () const |
get the reference count | |
virtual int | Release () |
Additional Inherited Members | |
![]() | |
int | m_refcount |
this is a sample code of how to explicitly define a INPLActivationFile handler in C++.
|
virtual |
example of EXPLICITLY define a function that is callable via NPL.
NPL side: NPL.activate("stats.cpp", {type="log", text="hello world C++ file!"});
Implements NPL::INPLActivationFile.