zypp::media::DownloadProgressReport Struct Reference

#include <ZYppCallbacks.h>

Inheritance diagram for zypp::media::DownloadProgressReport:

zypp::callback::ReportBase zypp::callback::ReceiveReport< media::DownloadProgressReport > zypp::source::DownloadProgressFileReceiver zypp::source::DownloadProgressPackageReceiver List of all members.

Public Types

enum  Action { ABORT, RETRY, IGNORE }
enum  Error { NO_ERROR, NOT_FOUND, IO }

Public Member Functions

virtual void start (Url file, Pathname localfile)
virtual bool progress (int value, Url file)
virtual Action problem (Url file, Error error, std::string description)
virtual void finish (Url file, Error error, std::string reason)

Detailed Description

Definition at line 211 of file ZYppCallbacks.h.


Member Enumeration Documentation

enum zypp::media::DownloadProgressReport::Action
 

Enumerator:
ABORT 
RETRY 
IGNORE 

Definition at line 213 of file ZYppCallbacks.h.

enum zypp::media::DownloadProgressReport::Error
 

Enumerator:
NO_ERROR 
NOT_FOUND 
IO 

Definition at line 219 of file ZYppCallbacks.h.


Member Function Documentation

virtual void zypp::media::DownloadProgressReport::start Url  file,
Pathname  localfile
[inline, virtual]
 

Definition at line 225 of file ZYppCallbacks.h.

virtual bool zypp::media::DownloadProgressReport::progress int  value,
Url  file
[inline, virtual]
 

Reimplemented in zypp::source::DownloadProgressPackageReceiver, and zypp::source::DownloadProgressFileReceiver.

Definition at line 227 of file ZYppCallbacks.h.

virtual Action zypp::media::DownloadProgressReport::problem Url  file,
Error  error,
std::string  description
[inline, virtual]
 

Definition at line 230 of file ZYppCallbacks.h.

References ABORT.

virtual void zypp::media::DownloadProgressReport::finish Url  file,
Error  error,
std::string  reason
[inline, virtual]
 

Definition at line 236 of file ZYppCallbacks.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6