NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
plugin_entry.hpp 文件参考

插件入口点定义 更多...

plugin_entry.hpp 的引用(Include)关系图:

浏览该文件的源代码.

宏定义

#define NEFORCE_PLUGIN_CREATE_FUNC   "create_plugin"
 插件创建函数名称
#define NEFORCE_PLUGIN_DESTROY_FUNC   "destroy_plugin"
 插件销毁函数名称

函数

iplugincreate_plugin ()
 创建插件实例
void destroy_plugin (iplugin *p)
 销毁插件实例

详细描述

插件入口点定义

此文件定义了插件必须实现的入口函数。 插件需要导出 create_plugin 和 destroy_plugin 函数, 供插件管理器加载和卸载插件。

在文件 plugin_entry.hpp 中定义.