zypp::target::rpm::RpmInstallReport Struct Reference

#include <RpmCallbacks.h>

Inheritance diagram for zypp::target::rpm::RpmInstallReport:

zypp::callback::ReportBase zypp::callback::ReceiveReport< zypp::target::rpm::RpmInstallReport > List of all members.

Public Types

enum  Action {
  ABORT, RETRY, IGNORE, ABORT,
  RETRY, IGNORE, ABORT, RETRY,
  IGNORE, ABORT, RETRY, ABORT,
  RETRY, IGNORE, ABORT, RETRY,
  IGNORE, ABORT, RETRY, IGNORE,
  IGNORE_ID, CHANGE_URL, EJECT, ABORT,
  RETRY, IGNORE, ABORT, RETRY,
  IGNORE, ABORT, RETRY, IGNORE,
  ABORT, RETRY, IGNORE, ABORT,
  RETRY, IGNORE, ABORT, RETRY,
  IGNORE
}

Public Member Functions

virtual void start (const Pathname &name)
 Start the operation.
virtual bool progress (unsigned percent)
 Inform about progress Return false on abort.
virtual void finish ()
 Finish operation in case of success.
virtual Action problem (Exception &excpt_r)
virtual void finish (Exception &excpt_r)
 Finish operation in case of fail, report fail exception.

Detailed Description

Definition at line 62 of file RpmCallbacks.h.


Member Enumeration Documentation

enum zypp::target::rpm::RpmInstallReport::Action

Enumerator:
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
IGNORE_ID 
CHANGE_URL 
EJECT 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 
ABORT 
RETRY 
IGNORE 

Definition at line 64 of file RpmCallbacks.h.


Member Function Documentation

virtual void zypp::target::rpm::RpmInstallReport::start ( const Pathname &  name  )  [inline, virtual]

Start the operation.

Definition at line 71 of file RpmCallbacks.h.

virtual bool zypp::target::rpm::RpmInstallReport::progress ( unsigned  percent  )  [inline, virtual]

Inform about progress Return false on abort.

Definition at line 77 of file RpmCallbacks.h.

virtual void zypp::target::rpm::RpmInstallReport::finish (  )  [inline, virtual]

Finish operation in case of success.

Definition at line 81 of file RpmCallbacks.h.

virtual Action zypp::target::rpm::RpmInstallReport::problem ( Exception excpt_r  )  [inline, virtual]

Definition at line 84 of file RpmCallbacks.h.

References ABORT.

Referenced by zypp::target::RpmInstallPackageReceiver::problem().

virtual void zypp::target::rpm::RpmInstallReport::finish ( Exception excpt_r  )  [inline, virtual]

Finish operation in case of fail, report fail exception.

Definition at line 88 of file RpmCallbacks.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 28 16:49:41 2006 for zypp by  doxygen 1.5.0