Imported Upstream version 14.30.0
[platform/upstream/libzypp.git] / zypp / repo / RepoMirrorList.h
index 49a0efd..85b2852 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <vector>
 #include "zypp/Url.h"
+#include "zypp/Pathname.h"
 
 namespace zypp
 {
@@ -20,13 +21,14 @@ namespace zypp
     class RepoMirrorList
     {
       public:
-        RepoMirrorList( const Url &url );
-        virtual ~RepoMirrorList();
-        
-        std::vector<Url> getUrls() const;
+        RepoMirrorList( const Url & url_r );
+        RepoMirrorList( const Url & url_r, const Pathname & metadatapath_r );
+
+        const std::vector<Url> & getUrls() const
+        { return _urls; }
 
       private:
-        std::vector<Url> urls;
+        std::vector<Url> _urls;
     };
 
   } // ns repo