12#ifndef ZYPP_TARGET_TARGETCALLBACKRECEIVER_H
13#define ZYPP_TARGET_TARGETCALLBACKRECEIVER_H
28 callback::SendReport <rpm::InstallResolvableReport>
_report;
44 void report(
const UserData & userData_r )
override;
57 virtual bool progress(
unsigned percent );
63 virtual void finishInfo(
const std::string & info_r );
75 callback::SendReport <rpm::RemoveResolvableReport>
_report;
91 void report(
const UserData & userData_r )
override;
93 virtual void start(
const std::string & name );
99 virtual bool progress(
unsigned percent );
110 virtual void finishInfo(
const std::string & info_r );
Base class for Exception.
TraitsType::constPtrType constPtr
virtual void finish()
Finish operation in case of success.
void tryLevel(target::rpm::InstallResolvableReport::RpmLevel level_r)
virtual void finishInfo(const std::string &info_r)
Additional rpm output to be reported in finish in case of success.
virtual ~RpmInstallPackageReceiver()
virtual void start(const Pathname &name)
Start the operation.
void report(const UserData &userData_r) override
Forwards generic reports.
virtual rpm::RpmInstallReport::Action problem(Exception &excpt_r)
inform user about a problem
target::rpm::InstallResolvableReport::RpmLevel _level
virtual bool progress(unsigned percent)
Inform about progress Return true on abort.
virtual void reportbegin()
callback::SendReport< rpm::InstallResolvableReport > _report
Resolvable::constPtr _resolvable
virtual void reportbegin()
bool aborted() const
Returns true if removing is aborted during progress.
virtual void start(const std::string &name)
virtual void finish()
Finish operation in case of success.
void report(const UserData &userData_r) override
Start the operation.
callback::SendReport< rpm::RemoveResolvableReport > _report
Resolvable::constPtr _resolvable
virtual bool progress(unsigned percent)
Inform about progress Return true on abort.
virtual void finishInfo(const std::string &info_r)
Additional rpm output to be reported in finish in case of success.
virtual rpm::RpmRemoveReport::Action problem(Exception &excpt_r)
inform user about a problem
virtual ~RpmRemovePackageReceiver()
Easy-to use interface to the ZYPP dependency resolver.