Bugzilla – Attachment #244855: zypp rpm install output callback for bug #369450
virtual bool progress(int /*value*/, Resolvable::constPtr /*resolvable*/)
{ return true; }
virtual void outputLine(const std::string & line)
{}
virtual Action problem(
Resolvable::constPtr /*resolvable*/
, Error /*error*/
{
return true;
}
virtual void outputLine( const std::string & line)
{ }
/** Finish operation in case of success */
virtual void finish()
report->progress( percent );
else
rpmmsg += line+'\n';
report->outputLine(line);
if ( line.substr(0,8) == "warning:" )
_abort = ! _report->progress( percent, _resolvable );
return _abort;
void RpmInstallPackageReceiver::outputLine( const std::string & line)
_report->outputLine(line);
rpm::RpmInstallReport::Action
RpmInstallPackageReceiver::problem( Exception & excpt_r )
*/
virtual bool progress( unsigned percent );
void outputLine( const std::string & line);
/** inform user about a problem */
virtual rpm::RpmInstallReport::Action problem( Exception & excpt_r );