|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
插件入口点定义 更多...
#include "NeForce/plugin/iplugin.hpp"宏定义 | |
| #define | NEFORCE_PLUGIN_CREATE_FUNC "create_plugin" |
| 插件创建函数名称 | |
| #define | NEFORCE_PLUGIN_DESTROY_FUNC "destroy_plugin" |
| 插件销毁函数名称 | |
函数 | |
| iplugin * | create_plugin () |
| 创建插件实例 | |
| void | destroy_plugin (iplugin *p) |
| 销毁插件实例 | |
插件入口点定义
此文件定义了插件必须实现的入口函数。 插件需要导出 create_plugin 和 destroy_plugin 函数, 供插件管理器加载和卸载插件。
在文件 plugin_entry.hpp 中定义.