#include <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 |
Definition at line 38 of file PackageProvider.h.
| typedef function<bool ( const std::string &, const Edition &, const Arch & )> zypp::repo::PackageProviderPolicy::QueryInstalledCB |
| PackageProviderPolicy& zypp::repo::PackageProviderPolicy::queryInstalledCB | ( | QueryInstalledCB | queryInstalledCB_r | ) | [inline] |
Set callback.
Definition at line 45 of file PackageProvider.h.
References _queryInstalledCB.
Referenced by zypp::target::RepoProvidePackage::operator()().
| bool zypp::repo::PackageProviderPolicy::queryInstalled | ( | const std::string & | name_r, | |
| const Edition & | ed_r, | |||
| const Arch & | arch_r | |||
| ) | const |
Evaluate callback.
Definition at line 46 of file PackageProvider.cc.
References _queryInstalledCB.
Referenced by zypp::repo::PackageProvider::queryInstalled().
Definition at line 54 of file PackageProvider.h.
Referenced by queryInstalled(), and queryInstalledCB().
1.5.3