libzypp  17.28.0
PluginServices.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 
10 #ifndef ZYPP_REPO_PLUGINSERVICES_H
11 #define ZYPP_REPO_PLUGINSERVICES_H
12 
13 #include <iosfwd>
14 
15 #include <zypp/base/PtrTypes.h>
16 #include <zypp/ProgressData.h>
17 #include <zypp/Pathname.h>
18 
20 namespace zypp
21 {
22 
23  class ServiceInfo;
25  namespace repo
26  {
27 
29  {
30  friend std::ostream & operator<<( std::ostream & str, const PluginServices& obj );
31  public:
32 
40  typedef function< bool( const ServiceInfo & )> ProcessService;
41 
43  class Impl;
44 
45  public:
46  PluginServices(const Pathname &path,
47  const ProcessService & callback);
48 
53  };
55 
57  std::ostream & operator<<( std::ostream & str, const PluginServices & obj );
58 
60  } // namespace repo
63 } // namespace zypp
65 #endif // ZYPP_REPO_LOCALSERVICES_H
zypp::ServiceInfo
Service data.
Definition: ServiceInfo.h:37
zypp::repo::PluginServices::Impl
Definition: PluginServices.cc:33
zypp::repo::PluginServices::PluginServices
PluginServices(const Pathname &path, const ProcessService &callback)
Definition: PluginServices.cc:70
bool
zypp::repo::operator<<
std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
Definition: DeltaCandidates.cc:107
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
zypp::repo::PluginServices
Definition: PluginServices.h:29
ProgressData.h
zypp::filesystem::Pathname
Pathname.
Definition: Pathname.h:45
zypp::repo::PluginServices::ProcessService
function< bool(const ServiceInfo &)> ProcessService
Callback definition.
Definition: PluginServices.h:40
zypp::repo::PluginServices::~PluginServices
~PluginServices()
Dtor.
Definition: PluginServices.cc:77
str
String related utilities and Regular expression matching.
zypp::repo::PluginServices::operator<<
friend std::ostream & operator<<(std::ostream &str, const PluginServices &obj)
Definition: PluginServices.cc:80