#include <plugin.h>
Inheritance diagram for Spm::Plugin::Plugin:
Public Member Functions | |
const miniXml::ustring & | getDescription () |
const boost::filesystem::path & | getPath () |
pluginType_e | getType () |
const miniXml::ustring & | getDescription () const |
const boost::filesystem::path & | getPath () const |
pluginType_e | getType () const |
const miniXml::ustring & | getVersion () |
const miniXml::ustring & | getVersion () const |
const miniXml::ustring & | getAuthor () |
const miniXml::ustring & | getAuthor () const |
const license_e & | getLicense () |
const license_e & | getLicense () const |
bool | enabled () |
bool | enabled () const |
const std::map< miniXml::ustring, miniXml::ustring > & | getPluginOptions () |
const std::map< miniXml::ustring, miniXml::ustring > & | 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 | PluginManager |
struct | equalDownloaderHandler |
struct | equalInstallerHandlerByUrl |
struct | equalInstallerHandlerByCompressed |
Plugin * | convertXmlToPlugin (const miniXml::Element *pluginElement) |
static Plugin* Spm::Plugin::Plugin::isAPlugin | ( | const boost::filesystem::path & | aFile | ) | throw (NotAPluginException) [static] |
const miniXml::ustring& Spm::Plugin::Plugin::getDescription | ( | ) |
const boost::filesystem::path& Spm::Plugin::Plugin::getPath | ( | ) |
pluginType_e Spm::Plugin::Plugin::getType | ( | ) |
const miniXml::ustring& Spm::Plugin::Plugin::getDescription | ( | ) | const |
const boost::filesystem::path& Spm::Plugin::Plugin::getPath | ( | ) | const |
pluginType_e Spm::Plugin::Plugin::getType | ( | ) | const |
const miniXml::ustring& Spm::Plugin::Plugin::getVersion | ( | ) |
const miniXml::ustring& Spm::Plugin::Plugin::getVersion | ( | ) | const |
const miniXml::ustring& Spm::Plugin::Plugin::getAuthor | ( | ) |
const miniXml::ustring& Spm::Plugin::Plugin::getAuthor | ( | ) | const |
bool Spm::Plugin::Plugin::enabled | ( | ) |
bool Spm::Plugin::Plugin::enabled | ( | ) | const |
const std::map<miniXml::ustring, miniXml::ustring>& Spm::Plugin::Plugin::getPluginOptions | ( | ) |
const std::map<miniXml::ustring, miniXml::ustring>& Spm::Plugin::Plugin::getPluginOptions | ( | ) | const |
void Spm::Plugin::Plugin::enable | ( | ) |
Enable the plugin.
void Spm::Plugin::Plugin::disable | ( | ) |
disable the plugin
bool Spm::Plugin::Plugin::operator< | ( | const Plugin & | p | ) | const |
friend class PluginManager [friend] |
friend struct equalDownloaderHandler [friend] |
friend struct equalInstallerHandlerByUrl [friend] |
friend struct equalInstallerHandlerByCompressed [friend] |
Plugin* convertXmlToPlugin | ( | const miniXml::Element * | pluginElement | ) | [friend] |