12 #ifndef ZYPP_TARGET_TARGETCALLBACKRECEIVER_H
13 #define ZYPP_TARGET_TARGETCALLBACKRECEIVER_H
44 virtual void start(
const Pathname & name );
54 virtual bool progress(
unsigned percent );
60 virtual void finishInfo(
const std::string & info_r );
87 virtual void start(
const std::string & name );
93 virtual bool progress(
unsigned percent );
104 virtual void finishInfo(
const std::string & info_r );
119 #endif // ZYPP_TARGET_TARGETCALLBACKRECEIVER_H
virtual bool progress(unsigned percent)
Inform about progress Return true on abort.
callback::SendReport< rpm::RemoveResolvableReport > _report
virtual ~RpmInstallPackageReceiver()
virtual void finish()
Finish operation in case of success.
virtual void finishInfo(const std::string &info_r)
Additional rpm output to be reported in finish in case of success.
target::rpm::InstallResolvableReport::RpmLevel _level
virtual rpm::RpmRemoveReport::Action problem(Exception &excpt_r)
inform user about a problem
virtual rpm::RpmInstallReport::Action problem(Exception &excpt_r)
inform user about a problem
RpmRemovePackageReceiver(Resolvable::constPtr res)
RpmRemovePackageReceiver.
bool aborted() const
Returns true if removing is aborted during progress.
virtual void finishInfo(const std::string &info_r)
Additional rpm output to be reported in finish in case of success.
virtual ~RpmRemovePackageReceiver()
virtual void reportbegin()
virtual bool progress(unsigned percent)
Inform about progress Return true on abort.
virtual void start(const Pathname &name)
Start the operation.
virtual void finish()
Finish operation in case of success.
TraitsType::constPtrType constPtr
virtual void start(const std::string &name)
Start the operation.
virtual void reportbegin()
Base class for Exception.
Resolvable::constPtr _resolvable
Resolvable::constPtr _resolvable
RpmInstallPackageReceiver(Resolvable::constPtr res)
void tryLevel(target::rpm::InstallResolvableReport::RpmLevel level_r)
callback::SendReport< rpm::InstallResolvableReport > _report