fw4spl
|
Activates a given bundle with optional parameters. More...
#include <Activater.hpp>
Public Member Functions | |
FWRUNTIME_API | Activater (const std::string &identifier, const std::string &version) |
Constructor. More... | |
FWRUNTIME_API void | addParameter (const std::string &identifier, const std::string &value) |
Adds a new parameter to the activater. More... | |
FWRUNTIME_API void | addDisableExtensionPoint (const std::string &identifier) |
Adds a new disable extension point to the activater. More... | |
FWRUNTIME_API void | addDisableExtension (const std::string &identifier) |
Adds a new disable extension to the activater. More... | |
void | apply () |
Applies the activater on the system. More... | |
Activates a given bundle with optional parameters.
Definition at line 34 of file Activater.hpp.
fwRuntime::profile::Activater::Activater | ( | const std::string & | identifier, |
const std::string & | version | ||
) |
Constructor.
[in] | identifier | a string containing a bundle identifier |
[in] | version | a string a bundle version |
Definition at line 31 of file Activater.cpp.
void fwRuntime::profile::Activater::addDisableExtension | ( | const std::string & | identifier | ) |
Adds a new disable extension to the activater.
[in] | identifier | a string containing the parameter name |
Definition at line 53 of file Activater.cpp.
void fwRuntime::profile::Activater::addDisableExtensionPoint | ( | const std::string & | identifier | ) |
Adds a new disable extension point to the activater.
[in] | identifier | a string containing the parameter name |
Definition at line 46 of file Activater.cpp.
void fwRuntime::profile::Activater::addParameter | ( | const std::string & | identifier, |
const std::string & | value | ||
) |
Adds a new parameter to the activater.
[in] | identifier | a string containing the parameter name |
[in] | value | a string containing the parameter value |
Definition at line 39 of file Activater.cpp.
void fwRuntime::profile::Activater::apply | ( | ) |
Applies the activater on the system.
Definition at line 60 of file Activater.cpp.
References fwRuntime::Runtime::findBundle(), fwRuntime::Runtime::getDefault(), OSLM_ERROR, SLM_FATAL_IF, and fwRuntime::Version::string().