|
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... | |
Public Member Functions inherited from NPL::INPLActivationFile | |
| 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 | |
Protected Attributes inherited from NPL::INPLActivationFile | |
| 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.
1.8.12