libzypp
10.5.0
|
Retrieval of repository list for a service. More...
#include <ServiceRepos.h>
Classes | |
class | Impl |
Public Types | |
typedef function< bool(const RepoInfo &)> | ProcessRepo |
Callback definition. | |
Public Member Functions | |
ServiceRepos (const ServiceInfo &service, const ProcessRepo &callback, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc()) | |
~ServiceRepos () | |
Private Attributes | |
RW_pointer< Impl > | _impl |
Retrieval of repository list for a service.
Definition at line 26 of file ServiceRepos.h.
typedef function< bool( const RepoInfo & )> zypp::repo::ServiceRepos::ProcessRepo |
Callback definition.
First parameter is a RepoInfo object with the resource second parameter is the resource type.
Return false from the callback to get a AbortRequestException to be thrown and the processing to be cancelled.
Definition at line 38 of file ServiceRepos.h.
zypp::repo::ServiceRepos::ServiceRepos | ( | const ServiceInfo & | service, |
const ProcessRepo & | callback, | ||
const ProgressData::ReceiverFnc & | progress = ProgressData::ReceiverFnc() |
||
) |
Definition at line 102 of file ServiceRepos.cc.
zypp::repo::ServiceRepos::~ServiceRepos | ( | ) |
Definition at line 109 of file ServiceRepos.cc.
RW_pointer<Impl> zypp::repo::ServiceRepos::_impl [private] |
Definition at line 46 of file ServiceRepos.h.