Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / repo / ServiceRepos.h
index 25e9240..66bef82 100644 (file)
@@ -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> _impl;
     };