libzypp: zypp/repo/PluginServices.h Source File

libzypp 17.38.5

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-core/base/PtrTypes.h>
16#include <zypp-core/ui/ProgressData>
17#include <zypp-core/Pathname.h>
18
20namespace zypp
21{
22
23 class ServiceInfo;
25 namespace repo
26 {
27
28 class PluginServices
29 {
30 friend std::ostream & operator<<( std::ostream & str, const PluginServices& obj );
31 public:
32
40 using ProcessService = function<bool (const ServiceInfo &)>;
41
43 class Impl;
44
45 public:
46 PluginServices(const Pathname &path,
47 const ProcessService & callback);
48
52 ~PluginServices();
53 };
54
55
57 std::ostream & operator<<( std::ostream & str, const PluginServices & obj );
58
60 } // namespace repo
63} // namespace zypp
65#endif // ZYPP_REPO_LOCALSERVICES_H
Pathname.h
PtrTypes.h
bool
zypp::ServiceInfo
Service data.
Definition ServiceInfo.h:37
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:48
zypp::repo::PluginServices::Impl
Definition PluginServices.cc:33
zypp::repo::PluginServices
Definition PluginServices.h:29
zypp::repo::PluginServices::operator<<
friend std::ostream & operator<<(std::ostream &str, const PluginServices &obj)
Definition PluginServices.cc:80
zypp::repo::PluginServices::PluginServices
PluginServices(const Pathname &path, const ProcessService &callback)
Definition PluginServices.cc:70
zypp::repo::PluginServices::~PluginServices
~PluginServices()
Dtor.
Definition PluginServices.cc:77
zypp::repo::PluginServices::ProcessService
function< bool(const ServiceInfo &)> ProcessService
Callback definition.
Definition PluginServices.h:40
str
String related utilities and Regular expression matching.
zypp::callback
Callbacks light.
Definition Callback.h:146
zypp::repo
Definition DeltaCandidates.cc:30
zypp::repo::operator<<
std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
Definition DeltaCandidates.cc:108
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2