#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 36 of file PackageProvider.h.
| typedef function<bool ( const std::string &, const Edition &, const Arch & )> zypp::source::PackageProviderPolicy::QueryInstalledCB |
| PackageProviderPolicy& zypp::source::PackageProviderPolicy::queryInstalledCB | ( | QueryInstalledCB | queryInstalledCB_r | ) | [inline] |
Set callback.
Definition at line 43 of file PackageProvider.h.
References _queryInstalledCB.
Referenced by zypp::target::sourceProvidePackage().
| bool zypp::source::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.
References _queryInstalledCB.
Referenced by zypp::source::PackageProvider::queryInstalled().
Definition at line 52 of file PackageProvider.h.
Referenced by queryInstalled(), and queryInstalledCB().
1.5.0