libzypp 17.31.23
|
Policies and options for PackageProvider. More...
#include <repo/PackageProvider.h>
Public Types | |
typedef function< bool(const std::string &, const Edition &, const Arch &)> | QueryInstalledCB |
Get installed Editions callback signature. | |
Public Member Functions | |
PackageProviderPolicy & | queryInstalledCB (QueryInstalledCB queryInstalledCB_r) |
Set callback. | |
bool | queryInstalled (const std::string &name_r, const Edition &ed_r, const Arch &arch_r) const |
Evaluate callback. | |
Private Attributes | |
QueryInstalledCB | _queryInstalledCB |
Policies and options for PackageProvider.
Definition at line 34 of file PackageProvider.h.
typedef function<bool ( const std::string &, const Edition &, const Arch & )> zypp::repo::PackageProviderPolicy::QueryInstalledCB |
Get installed Editions callback signature.
Definition at line 38 of file PackageProvider.h.
|
inline |
Set callback.
Definition at line 41 of file PackageProvider.h.
bool zypp::repo::PackageProviderPolicy::queryInstalled | ( | const std::string & | name_r, |
const Edition & | ed_r, | ||
const Arch & | arch_r | ||
) | const |
Evaluate callback.
Definition at line 69 of file PackageProvider.cc.
|
private |
Definition at line 50 of file PackageProvider.h.