libzypp  17.14.0
ServiceRepos.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 
10 #ifndef ZYPP_REPO_SERVICE_REPOS
11 #define ZYPP_REPO_SERVICE_REPOS
12 
13 #include "zypp/base/NonCopyable.h"
14 #include "zypp/ProgressData.h"
15 #include "zypp/ServiceInfo.h"
16 #include "zypp/RepoInfo.h"
17 
18 namespace zypp
19 {
20  namespace repo
21  {
26  {
27  public:
32  typedef function< bool( const RepoInfo & )> ProcessRepo;
33 
38  ServiceRepos( const Pathname & root_r,
39  const ServiceInfo & service,
40  const ProcessRepo & callback,
42  ~ServiceRepos();
43 
44  public:
45  struct Impl;
46  private:
48  };
49  } // ns repo
50 } // ns zypp
51 
52 #endif