e6ad1fd8d30df321a321e5fd790bd1d5cd85b0ea
[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, const Pathname & metadatapath_r = Pathname() );
25
26         const std::vector<Url> & getUrls() const
27         { return _urls; }
28
29         std::vector<Url> & getUrls()
30         { return _urls; }
31
32       private:
33         std::vector<Url> _urls;
34     };
35   } // ns repo
36 } // ns zypp
37
38 #endif
39
40 // vim: set ts=2 sts=2 sw=2 et ai: