|
nx_cloud_storage_sdk
1.0
Cloud Storage SDK
|
#include <plugin_api.h>
Public Types | |
| typedef PluginInterface *(* | EntryPointFunc) () |
Public Member Functions | |
| virtual const char * | name () const =0 |
| virtual void | setSettings (const nxpl::Setting *settings, int count)=0 |
Public Member Functions inherited from nxpl::PluginInterface | |
| virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0 |
| Cast to type, specified by interfaceID. More... | |
| virtual int | addRef () const =0 |
| Increment reference counter. More... | |
| virtual int | releaseRef () const =0 |
| Decrement reference counter. More... | |
Static Public Attributes | |
| static constexpr const char * | kEntryPointFuncName = "createNXPluginInstance" |
Optional interface with general plugin features (name, settings). Server tries to cast the initial pointer received from createNXPluginInstance() to this type right after the plugin is loaded.
| typedef PluginInterface*(* nxpl::Plugin::EntryPointFunc) () |
Prototype of a plugin entry point function.
|
pure virtual |
Name of the plugin, used for information purpose only.
|
pure virtual |
Used by the server to assign settings to the plugin. Called before other plugin features are used.
| settings | This memory cannot be accessed after this method returns. |
| count | Size of the settings array. |
1.8.14