libzypp  17.3.0
zypp::repo::PluginServices Class Reference

#include <PluginServices.h>

Classes

class  Impl
 

Public Types

typedef function< bool(const ServiceInfo &)> ProcessService
 Callback definition. More...
 

Public Member Functions

 PluginServices (const Pathname &path, const ProcessService &callback)
 
 ~PluginServices ()
 Dtor. More...
 

Friends

std::ostream & operator<< (std::ostream &str, const PluginServices &obj)
 

Detailed Description

Definition at line 28 of file PluginServices.h.

Member Typedef Documentation

◆ ProcessService

Callback definition.

First parameter is a ServiceInfo object with the resource.

Return false from the callback to get a AbortRequestException to be thrown and the processing to be cancelled.

Definition at line 40 of file PluginServices.h.

Constructor & Destructor Documentation

◆ PluginServices()

zypp::repo::PluginServices::PluginServices ( const Pathname path,
const ProcessService callback 
)

Definition at line 70 of file PluginServices.cc.

◆ ~PluginServices()

zypp::repo::PluginServices::~PluginServices ( )

Dtor.

Definition at line 77 of file PluginServices.cc.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  str,
const PluginServices obj 
)
friend

Definition at line 80 of file PluginServices.cc.


The documentation for this class was generated from the following files: