#include <plugin.h>
Inheritance diagram for Spm::Plugin::Plugin:
Public Member Functions | |
Plugin () | |
Plugin (const boost::filesystem::path &aFile) | |
~Plugin () | |
const std::string & | getDescription () |
const boost::filesystem::path & | getPath () |
pluginType_e | getType () |
const std::string & | getDescription () const |
const boost::filesystem::path & | getPath () const |
pluginType_e | getType () const |
const std::string & | getVersion () |
const std::string & | getVersion () const |
const std::string & | getAuthor () |
const std::string & | getAuthor () const |
const license_e & | getLicense () |
const license_e & | getLicense () const |
Interface * | getObject (const std::map< std::string, std::string > &pOptions) throw (NotActivePluginException, PluginException) |
Interface * | getObject () throw (NotActivePluginException, PluginException) |
DownloadInterface * | getDownloaderObject (const Util::urlDetails &url) throw (NotActivePluginException, PluginException) |
InstallerInterface * | getObject (Util::Compressed *compressed) throw (NotActivePluginException, PluginException) |
bool | isEnable () |
bool | isEnable () const |
const std::map< std::string, std::string > & | getPluginOptions () |
const std::map< std::string, std::string > & | getPluginOptions () const |
void | enable () |
Enable the plugin. | |
void | disable () |
disable the plugin | |
bool | operator< (const Plugin &p) const |
Static Public Member Functions | |
static Plugin * | isAPlugin (const boost::filesystem::path &aFile) throw (NotAPluginException) |
Check if a file is a Plugin. | |
Friends | |
class | PluginSystem |
Plugin * | convertXmlToPlugin (const miniXml::Element *pluginElement) |
|
|
|
|
|
|
|
disable the plugin
|
|
Enable the plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Check if a file is a Plugin.
|
|
|
|
|
|
|
|
|
|
|