libzypp 17.31.23
zypp::repo::PluginServices Class Reference

#include <repo/PluginServices.h>

Classes

class  Impl
 

Public Types

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

Public Member Functions

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

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: