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 262 of file ZYppCallbacks.h.


Member Enumeration Documentation

enum zypp::media::DownloadProgressReport::Action
 

Enumerator:
ABORT 
RETRY 
IGNORE 

Definition at line 264 of file ZYppCallbacks.h.

enum zypp::media::DownloadProgressReport::Error
 

Enumerator:
NO_ERROR 
NOT_FOUND 
IO 

Definition at line 270 of file ZYppCallbacks.h.


Member Function Documentation

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

Definition at line 276 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 278 of file ZYppCallbacks.h.

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

Definition at line 281 of file ZYppCallbacks.h.

References ABORT.

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

Definition at line 287 of file ZYppCallbacks.h.


The documentation for this struct was generated from the following file:
Generated on Wed Sep 27 01:17:10 2006 for zypp by  doxygen 1.4.6