Imported Upstream version 14.30.0
[platform/upstream/libzypp.git] / zypp / repo / RepoMirrorList.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9
10 #ifndef ZYPP_REPO_MIRRORLIST_H_
11 #define ZYPP_REPO_MIRRORLIST_H_
12
13 #include <vector>
14 #include "zypp/Url.h"
15 #include "zypp/Pathname.h"
16
17 namespace zypp
18 {
19   namespace repo
20   {
21     class RepoMirrorList
22     {
23       public:
24         RepoMirrorList( const Url & url_r );
25         RepoMirrorList( const Url & url_r, const Pathname & metadatapath_r );
26
27         const std::vector<Url> & getUrls() const
28         { return _urls; }
29
30       private:
31         std::vector<Url> _urls;
32     };
33
34   } // ns repo
35 } // ns zypp
36
37 #endif
38
39 // vim: set ts=2 sts=2 sw=2 et ai: