libzypp
13.10.6
|
Policies and options for PackageProvider. More...
#include <PackageProvider.h>
Public Types | |
typedef function< bool(const std::string &, const Edition &, const Arch &)> | QueryInstalledCB |
Get installed Editions callback signature. More... | |
Public Member Functions | |
PackageProviderPolicy & | queryInstalledCB (QueryInstalledCB queryInstalledCB_r) |
Set callback. More... | |
bool | queryInstalled (const std::string &name_r, const Edition &ed_r, const Arch &arch_r) const |
Evaluate callback. More... | |
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 39 of file PackageProvider.cc.
|
private |
Definition at line 50 of file PackageProvider.h.