Public Member Functions | |
CommitPlugins () | |
Default ctor: Empty plugin list. | |
~CommitPlugins () | |
Dtor: Send PLUGINEND message and close plugins. | |
void | load (const Pathname &path_r) |
Find and launch plugins sending PLUGINSTART message. | |
Private Member Functions | |
void | doLoad (const PathInfo &pi_r) |
Private Attributes | |
std::list< PluginScript > | _scripts |
Definition at line 74 of file TargetImpl.cc.
zypp::target::CommitPlugins::CommitPlugins | ( | ) | [inline] |
zypp::target::CommitPlugins::~CommitPlugins | ( | ) | [inline] |
void zypp::target::CommitPlugins::load | ( | const Pathname & | path_r | ) | [inline] |
Find and launch plugins sending PLUGINSTART message.
If path_r is a directory all executable files whithin are expected to be plugins. Otherwise path_r must point to an executable plugin.
Definition at line 112 of file TargetImpl.cc.
References doLoad(), for_, zypp::filesystem::readdir(), and WAR.
Referenced by zypp::target::TargetImpl::commit(), and zypp::target::testCommitPlugins().
void zypp::target::CommitPlugins::doLoad | ( | const PathInfo & | pi_r | ) | [inline, private] |
std::list<PluginScript> zypp::target::CommitPlugins::_scripts [private] |