libzypp 17.32.2
|
Indicate execution of a patch script. More...
#include <ZYppCallbacks.h>
Public Types | |
enum | Notify { OUTPUT , PING } |
enum | Action { ABORT , RETRY , IGNORE } |
![]() | |
typedef callback::UserData | UserData |
typedef UserData::ContentType | ContentType |
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. | |
![]() | |
virtual void | report (const UserData &userData_r=UserData()) |
The most generic way of sending/receiving data. | |
virtual | ~ReportBase () |
Indicate execution of a patch script.
This is a sort of post
script shipped by a package and to be executed after the package was installed.
Definition at line 449 of file ZYppCallbacks.h.
Enumerator | |
---|---|
OUTPUT | |
PING |
Definition at line 451 of file ZYppCallbacks.h.
Enumerator | |
---|---|
ABORT | |
RETRY | |
IGNORE |
Definition at line 452 of file ZYppCallbacks.h.
|
inlinevirtual |
Start executing the script provided by package.
Definition at line 460 of file ZYppCallbacks.h.
|
inlinevirtual |
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 467 of file ZYppCallbacks.h.
Report error.
Definition at line 471 of file ZYppCallbacks.h.
Report success.
Definition at line 474 of file ZYppCallbacks.h.