📄 i_plugin.h
字号:
/*------------------------------------------------------------------------------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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -