#include <ZYppCallbacks.h>
Public Types | |
enum | Notify { OUTPUT, PING } |
enum | Action { ABORT, RETRY, IGNORE } |
Public Member Functions | |
virtual void | start (const Package::constPtr &, const Pathname &) |
Start executing the script provided by package. | |
virtual bool | progress (Notify, const std::string &=std::string()) |
Progress provides the script output. | |
virtual Action | problem (const std::string &) |
Report error. | |
virtual void | finish () |
Report success. |
This is a sort of post
script shipped by a package and to be executed after the package was installed.
Definition at line 415 of file ZYppCallbacks.h.
virtual void zypp::target::PatchScriptReport::start | ( | const Package::constPtr & | , | |
const Pathname & | ||||
) | [inline, virtual] |
virtual bool zypp::target::PatchScriptReport::progress | ( | Notify | , | |
const std::string & | = std::string() | |||
) | [inline, virtual] |
Progress provides the script output.
If the script is quiet, from time to time still-alive pings are sent to the ui. Returning FALSE
aborts script execution.
Definition at line 433 of file ZYppCallbacks.h.
virtual Action zypp::target::PatchScriptReport::problem | ( | const std::string & | ) | [inline, virtual] |
virtual void zypp::target::PatchScriptReport::finish | ( | ) | [inline, virtual] |