i_plugin.h
来自「java开源的企业总线.xmlBlaster」· C头文件 代码 · 共 41 行
H
41 行
/*------------------------------------------------------------------------------Name: I_Plugin.hProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/#ifndef _UTIL_PLUGIN_I_PLUGIN_H#define _UTIL_PLUGIN_I_PLUGIN_H#include <string>namespace org { namespace xmlBlaster { namespace util { namespace plugin {/** * Interface for all plugins. * Note: Currently this interface marks plugins only, it is not * yet used to dynamically load shared libraries or dlls. * @author <a href='mailto:xmlblast@marcelruff.info'>Marcel Ruff</a> */class Dll_Export I_Plugin{public: virtual ~I_Plugin() {}; /** * Get the name of the plugin. * @return For example "SOCKET", "IOR", "SQLite", "RAM", "XERCES", ... */ virtual std::string getType() = 0; /** * Get the version of the plugin. * @return For example "1.0" */ virtual std::string getVersion() = 0;};}}}} // namespace#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?