View | Details | Raw Unified | Return to bug 369450
Collapse All | Expand All

(-)zypp/ZYppCallbacks.h (+3 lines)
Lines 476-481 Link Here
476
        virtual bool progress(int /*value*/, Resolvable::constPtr /*resolvable*/)
476
        virtual bool progress(int /*value*/, Resolvable::constPtr /*resolvable*/)
477
        { return true; }
477
        { return true; }
478
478
479
        virtual void outputLine(const std::string & line)
480
        {}
481
479
        virtual Action problem(
482
        virtual Action problem(
480
          Resolvable::constPtr /*resolvable*/
483
          Resolvable::constPtr /*resolvable*/
481
  	  , Error /*error*/
484
  	  , Error /*error*/
(-)zypp/target/rpm/RpmCallbacks.h (+3 lines)
Lines 87-92 Link Here
87
  {
87
  {
88
    return true;
88
    return true;
89
  }
89
  }
90
  
91
  virtual void outputLine( const std::string & line)
92
  { }
90
93
91
  /** Finish operation in case of success */
94
  /** Finish operation in case of success */
92
  virtual void finish()
95
  virtual void finish()
(-)zypp/target/rpm/RpmDb.cc (+3 lines)
Lines 2044-2050 Link Here
2044
      report->progress( percent );
2044
      report->progress( percent );
2045
    }
2045
    }
2046
    else
2046
    else
2047
    {
2047
      rpmmsg += line+'\n';
2048
      rpmmsg += line+'\n';
2049
      report->outputLine(line);
2050
    }
2048
2051
2049
    if ( line.substr(0,8) == "warning:" )
2052
    if ( line.substr(0,8) == "warning:" )
2050
    {
2053
    {
(-)zypp/target/TargetCallbackReceiver.cc (-1 / +6 lines)
Lines 57-63 Link Here
57
	    _abort = ! _report->progress( percent, _resolvable );
57
	    _abort = ! _report->progress( percent, _resolvable );
58
	    return _abort;
58
	    return _abort;
59
	}
59
	}
60
	
60
        
61
        void RpmInstallPackageReceiver::outputLine( const std::string & line)
62
        {
63
          _report->outputLine(line);
64
        }
65
61
	rpm::RpmInstallReport::Action 
66
	rpm::RpmInstallReport::Action 
62
	RpmInstallPackageReceiver::problem( Exception & excpt_r )
67
	RpmInstallPackageReceiver::problem( Exception & excpt_r )
63
	{
68
	{
(-)zypp/target/TargetCallbackReceiver.h (+2 lines)
Lines 52-57 Link Here
52
         */
52
         */
53
        virtual bool progress( unsigned percent );
53
        virtual bool progress( unsigned percent );
54
54
55
        void outputLine( const std::string & line);
56
55
	/** inform user about a problem */
57
	/** inform user about a problem */
56
	virtual rpm::RpmInstallReport::Action problem( Exception & excpt_r );
58
	virtual rpm::RpmInstallReport::Action problem( Exception & excpt_r );
57
59

Return to bug 369450