libzypp 17.31.23
|
Callback for cleaning locks which doesn't lock anything in pool. More...
#include <ZYppCallbacks.h>
Public Types | |
enum | Action { ABORT , DELETE , IGNORE } |
action performed by cleaning api to specific lock More... | |
enum | Error { NO_ERROR , ABORTED } |
result of cleaning More... | |
Public Types inherited from zypp::callback::ReportBase | |
typedef callback::UserData | UserData |
typedef UserData::ContentType | ContentType |
Public Member Functions | |
virtual void | start () |
cleaning is started | |
virtual bool | progress (int) |
progress of cleaning specifies in percents | |
virtual Action | execute (const PoolQuery &) |
When find empty lock ask what to do with it. | |
virtual void | finish (Error) |
cleaning is done | |
Public Member Functions inherited from zypp::callback::ReportBase | |
virtual void | report (const UserData &userData_r=UserData()) |
The most generic way of sending/receiving data. | |
virtual | ~ReportBase () |
Callback for cleaning locks which doesn't lock anything in pool.
Definition at line 891 of file ZYppCallbacks.h.
action performed by cleaning api to specific lock
Enumerator | |
---|---|
ABORT | abort and return error |
DELETE | delete empty lock |
IGNORE | skip empty lock |
Definition at line 896 of file ZYppCallbacks.h.
result of cleaning
Enumerator | |
---|---|
NO_ERROR | no problem |
ABORTED | cleaning aborted by user |
Definition at line 905 of file ZYppCallbacks.h.
|
inlinevirtual |
cleaning is started
Definition at line 913 of file ZYppCallbacks.h.
|
inlinevirtual |
progress of cleaning specifies in percents
Definition at line 920 of file ZYppCallbacks.h.
When find empty lock ask what to do with it.
Definition at line 927 of file ZYppCallbacks.h.
|
inlinevirtual |
cleaning is done
Definition at line 934 of file ZYppCallbacks.h.