12 #ifndef ZYPP_ZYPPCALLBACKS_H
13 #define ZYPP_ZYPPCALLBACKS_H
70 value =
_fnc(progress);
168 ,
const std::string &
173 ,
const std::string &
228 ,
const std::string & )
234 ,
const std::string & )
260 ,
const std::string & )
265 ,
const std::string &
267 ,
const std::string & )
316 ,
const std::string &
318 ,
const std::string &
319 ,
const std::vector<std::string> &
352 double dbps_avg = -1,
353 double dbps_current = -1)
359 ,
const std::string &
365 ,
const std::string &
387 const std::string & ,
434 const std::string & = std::string() )
482 ,
const std::string &
489 ,
const std::string &
520 ,
const std::string &
526 ,
const std::string &
552 ,
const std::string &
558 ,
const std::string &
586 ,
const std::string &
592 ,
const std::string &
720 #endif // ZYPP_ZYPPCALLBACKS_H
bool operator()(const ProgressData &progress)
virtual void finishDeltaApply()
virtual void start(Resolvable::constPtr, const Url &)
virtual void problemPatchDownload(const std::string &)
ProgressData::ReceiverFnc _fnc
virtual Action problem(Resolvable::constPtr, Error, const std::string &)
virtual void start(const ProgressData &)
virtual bool progress(int, Resolvable::constPtr)
virtual void finishDeltaDownload()
virtual void start(const zypp::Url &)
virtual Action problem(Resolvable::constPtr, Error, const std::string &, RpmLevel)
virtual void finish(Resolvable::constPtr, Error, const std::string &)
virtual void finish(const zypp::Url &, Error, const std::string &)
virtual void finish(Pathname, Error, const std::string &)
Store and operate with byte count.
virtual void start(Resolvable::constPtr)
virtual Action problem(Repository, Error, const std::string &)
virtual void finish(const ProgressData &)
virtual bool progress(const ProgressData &)
virtual void finish(Pathname, Error, const std::string &)
virtual void finish()
Report success.
What is known about a repository.
virtual void finish(Resolvable::constPtr, Error, const std::string &)
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
Indicate execution of a patch script.
virtual bool progressDeltaDownload(int)
virtual void start(Pathname)
virtual void successProbe(const Url &, const std::string &)
Action
action performed by cleaning api to specific lock
virtual void start(Resolvable::constPtr)
locks lock some file and unlocking lock unlock only part of iti, so removing old lock can unlock more...
virtual bool progress(int, Pathname)
virtual void startDeltaDownload(const Pathname &, const ByteCount &)
virtual Action problem(const Url &, Error, const std::string &)
virtual void finish(Error)
cleaning is done
ProgressReportAdaptor(const ProgressData::ReceiverFnc &fnc, callback::SendReport< ProgressReport > &report)
virtual bool progressPatchDownload(int)
virtual void start(Pathname)
virtual void startPatchDownload(const Pathname &, const ByteCount &)
virtual Action problem(Pathname, Error, const std::string &)
virtual void finish(const Url &, Error, const std::string &)
virtual Action problem(const zypp::Url &, Error, const std::string &)
virtual Action problem(Resolvable::constPtr, Error, const std::string &)
virtual bool progress(int, Resolvable::constPtr)
Maintain [min,max] and counter (value) for progress counting.
virtual bool progress()
merging still live
Request to display the pre commit message of a patch.
virtual Action problem(const std::string &)
Report error.
locks lock same item in pool but his parameters is different
TraitsType::constPtrType constPtr
virtual void problemDeltaApply(const std::string &)
this callback handles merging old locks with newly added or removed
virtual void finish(Resolvable::constPtr, Error, const std::string &, RpmLevel)
virtual void problemDeltaDownload(const std::string &)
virtual void failedProbe(const Url &, const std::string &)
virtual void start(const ProgressData &, const RepoInfo)
TraitsType::constPtrType constPtr
virtual bool progress(int)
progress of cleaning specifies in percents
Action
action for old lock which is in conflict
virtual void start(const Url &)
virtual bool progress(int)
callback::SendReport< ProgressReport > & _report
virtual void start(const Package::constPtr &, const Pathname &)
Start executing the script provided by package.
virtual bool progress(int, Pathname)
virtual void finish(Repository, const std::string &, Error, const std::string &)
virtual Action execute(const PoolQuery &)
When find empty lock ask what to do with it.
virtual void startDeltaApply(const Pathname &)
virtual bool progress(Notify, const std::string &=std::string())
Progress provides the script output.
virtual bool progress(const ProgressData &)
virtual bool progress(int, Resolvable::constPtr)
ConflictState
type of conflict of old and new lock
Callback for cleaning locks which doesn't lock anything in pool.
virtual Action problem(Pathname, Error, const std::string &)
virtual void finishPatchDownload()
virtual void start()
cleaning is started
virtual void progressDeltaApply(int)
TraitsType::constPtrType constPtr
virtual bool progress(const Url &, int)
virtual bool show(Patch::constPtr &)
Display patch->message().
virtual Action conflict(const PoolQuery &, ConflictState)
When user unlock something which is locked by non-identical query.
virtual void finish(Error)