X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Frepo%2FServiceRepos.h;h=66bef82d62bfb3129562738318d92dc42095b55c;hb=f2f36ebec8b34e01f91f190cbd0b9f4d3c2c4510;hp=25e9240e2bf0483d5f0fcc1f760d12e5d21ffe2f;hpb=d492bc6ff98c3a2917afcaad406ef9586a9ba8f5;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/repo/ServiceRepos.h b/zypp/repo/ServiceRepos.h index 25e9240..66bef82 100644 --- a/zypp/repo/ServiceRepos.h +++ b/zypp/repo/ServiceRepos.h @@ -20,24 +20,30 @@ namespace zypp namespace repo { /** - * Retrieval of repository list for a service. + * Retrieval of repository list for + * a service */ class ServiceRepos : private base::NonCopyable { public: + /** + * Callback definition. + * First parameter is a \ref RepoInfo object with the resource + * second parameter is the resource type. + * * Return false from the callback to get a \ref AbortRequestException * to be thrown and the processing to be cancelled. */ typedef function< bool( const RepoInfo & )> ProcessRepo; - ServiceRepos( const ServiceInfo & service, - const ProcessRepo & callback, - const ProgressData::ReceiverFnc &progress = ProgressData::ReceiverFnc() ); + ServiceRepos(const ServiceInfo &service, + const ProcessRepo & callback, + const ProgressData::ReceiverFnc &progress = ProgressData::ReceiverFnc() ); ~ServiceRepos(); - public: - class Impl; //!< Expose type only + /** Implementation */ + class Impl; private: RW_pointer _impl; };