zypp::media::MediaChangeReport Struct Reference

#include <ZYppCallbacks.h>

Inheritance diagram for zypp::media::MediaChangeReport:
[legend]

List of all members.

Public Types

enum  Action {
  ABORT, RETRY, IGNORE, IGNORE_ID,
  CHANGE_URL, EJECT
}
enum  Error {
  NO_ERROR, NOT_FOUND, IO, INVALID,
  WRONG, IO_SOFT
}

Public Member Functions

virtual Action requestMedia (Url &, unsigned, const std::string &, Error, const std::string &, const std::vector< std::string > &, unsigned int &)


Detailed Description

Definition at line 280 of file ZYppCallbacks.h.


Member Enumeration Documentation

Enumerator:
ABORT 
RETRY 
IGNORE 
IGNORE_ID 
CHANGE_URL 
EJECT 

Definition at line 282 of file ZYppCallbacks.h.

Enumerator:
NO_ERROR 
NOT_FOUND 
IO 
INVALID 
WRONG 
IO_SOFT  IO error which can happen on worse connection like timeout exceed.

Definition at line 291 of file ZYppCallbacks.h.


Member Function Documentation

virtual Action zypp::media::MediaChangeReport::requestMedia ( Url ,
unsigned  ,
const std::string &  ,
Error  ,
const std::string &  ,
const std::vector< std::string > &  ,
unsigned int &   
) [inline, virtual]

Parameters:
url in: url for which the media is requested, out: url to use instead of the original one
mediumNr requested medium number
label label of requested medium
error type of error from Error enum
description error message (media not desired or error foo occured)
devices list of the available devices (for eject)
dev_current in: index of the currently used device in the devices list out: index of the devices to be ejected in the devices list
Returns:
Action (ABORT by default)

Definition at line 313 of file ZYppCallbacks.h.

References ABORT.


The documentation for this struct was generated from the following file:

doxygen