#include <installerInterface.h>
Inheritance diagram for Spm::Plugin::InstallerInterface:
Public Member Functions | |
~InstallerInterface () | |
virtual void | init () |
Initialize the installation. Override this function to init your installation. | |
virtual void | postInstall () |
Cleaning function. Override this funtion to finalize your installation. | |
virtual void | install () |
Start the installation. | |
virtual const StepInterface * | getActualStep () |
virtual const std::list< boost::filesystem::path > | getInstalledElement ()=0 |
virtual std::map< miniXml::ustring, miniXml::ustring > | getUsedOptions ()=0 |
virtual std::map< miniXml::ustring, boost::tuple< miniXml::ustring, int, Util::PropertyList::propertyType_e > > | getOptions ()=0 |
const boost::filesystem::path & | getPrefix () |
virtual const miniXml::ustring & | getPackageName () |
virtual const miniXml::ustring & | getPackageVersion () |
virtual const std::list< miniXml::ustring > & | getDependency () |
Util::PropertyList & | installOptions () |
virtual void | installOptions (const Util::PropertyList &pList) |
Set install options of an installer. | |
Public Attributes | |
boost::signal< void(StepInterface *)> | signalChangedStep )() |
boost::signal< void(InstallerInterface *)> | signalMetaDataParsed )() |
boost::signal< void(InstallerInterface *)> | signalHaveOptions )() |
Protected Member Functions | |
InstallerInterface () | |
InstallerInterface (Util::Compressed *archive, const Util::PropertyList &pList=Util::PropertyList()) | |
void | setState (state_e pluginState) |
Protected Attributes | |
boost::filesystem::path | prefix_ |
boost::filesystem::path | runningDir_ |
Util::Compressed * | compressed_ |
miniXml::ustring | name_ |
miniXml::ustring | version_ |
std::list< miniXml::ustring > | dependency_ |
boost::signal< void(StepInterface *)> | changedStep_ |
boost::signal< void(InstallerInterface *)> | metaDataParsed_ |
boost::signal< void(InstallerInterface *)> | haveOptions_ |
boost::recursive_mutex | mutex_ |
std::list< StepInterface * > | steps_ |
std::list< StepInterface * >::iterator | itStep_ |
Spm::Plugin::InstallerInterface::InstallerInterface | ( | ) | [inline, protected] |
Spm::Plugin::InstallerInterface::InstallerInterface | ( | Util::Compressed * | archive, | |
const Util::PropertyList & | pList = Util::PropertyList() | |||
) | [inline, protected] |
Spm::Plugin::InstallerInterface::~InstallerInterface | ( | ) | [inline] |
void Spm::Plugin::InstallerInterface::setState | ( | state_e | pluginState | ) | [inline, protected] |
virtual void Spm::Plugin::InstallerInterface::init | ( | ) | [inline, virtual] |
Initialize the installation. Override this function to init your installation.
virtual void Spm::Plugin::InstallerInterface::postInstall | ( | ) | [inline, virtual] |
Cleaning function. Override this funtion to finalize your installation.
virtual void Spm::Plugin::InstallerInterface::install | ( | ) | [inline, virtual] |
Start the installation.
virtual const StepInterface* Spm::Plugin::InstallerInterface::getActualStep | ( | ) | [inline, virtual] |
virtual const std::list<boost::filesystem::path> Spm::Plugin::InstallerInterface::getInstalledElement | ( | ) | [pure virtual] |
virtual std::map<miniXml::ustring, miniXml::ustring> Spm::Plugin::InstallerInterface::getUsedOptions | ( | ) | [pure virtual] |
virtual std::map<miniXml::ustring, boost::tuple<miniXml::ustring, int, Util::PropertyList::propertyType_e> > Spm::Plugin::InstallerInterface::getOptions | ( | ) | [pure virtual] |
const boost::filesystem::path& Spm::Plugin::InstallerInterface::getPrefix | ( | ) | [inline] |
virtual const miniXml::ustring& Spm::Plugin::InstallerInterface::getPackageName | ( | ) | [inline, virtual] |
virtual const miniXml::ustring& Spm::Plugin::InstallerInterface::getPackageVersion | ( | ) | [inline, virtual] |
virtual const std::list<miniXml::ustring>& Spm::Plugin::InstallerInterface::getDependency | ( | ) | [inline, virtual] |
Util::PropertyList& Spm::Plugin::InstallerInterface::installOptions | ( | ) | [inline] |
virtual void Spm::Plugin::InstallerInterface::installOptions | ( | const Util::PropertyList & | pList | ) | [inline, virtual] |
Set install options of an installer.
pList | The options of the installer |
boost::filesystem::path Spm::Plugin::InstallerInterface::prefix_ [protected] |
boost::filesystem::path Spm::Plugin::InstallerInterface::runningDir_ [protected] |
miniXml::ustring Spm::Plugin::InstallerInterface::name_ [protected] |
miniXml::ustring Spm::Plugin::InstallerInterface::version_ [protected] |
std::list<miniXml::ustring> Spm::Plugin::InstallerInterface::dependency_ [protected] |
boost::signal<void (StepInterface *)> Spm::Plugin::InstallerInterface::changedStep_ [protected] |
boost::signal<void (InstallerInterface *)> Spm::Plugin::InstallerInterface::metaDataParsed_ [protected] |
boost::signal<void (InstallerInterface *)> Spm::Plugin::InstallerInterface::haveOptions_ [protected] |
boost::recursive_mutex Spm::Plugin::InstallerInterface::mutex_ [protected] |
std::list<StepInterface *> Spm::Plugin::InstallerInterface::steps_ [protected] |
std::list<StepInterface *>::iterator Spm::Plugin::InstallerInterface::itStep_ [protected] |
boost::signal<void (StepInterface *)> Spm::Plugin::InstallerInterface::signalChangedStep)() [inline] |
boost::signal<void (InstallerInterface *)> Spm::Plugin::InstallerInterface::signalMetaDataParsed)() [inline] |
boost::signal<void (InstallerInterface *)> Spm::Plugin::InstallerInterface::signalHaveOptions)() [inline] |