#include <PackageProvider.h>
Public Types | |
| typedef function< bool(const std::string &, const Edition &)> | 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=Edition()) const |
| Evaluate callback. | |
Private Attributes | |
| QueryInstalledCB | _queryInstalledCB |
Definition at line 36 of file PackageProvider.h.
| typedef function<bool ( const std::string &, const Edition & )> 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::TargetImpl::commit().
| bool zypp::source::PackageProviderPolicy::queryInstalled | ( | const std::string & | name_r, | |
| const Edition & | ed_r = Edition() | |||
| ) | const |
Evaluate callback.
Definition at line 38 of file PackageProvider.cc.
References _queryInstalledCB.
Referenced by zypp::source::PackageProvider::queryInstalled().
Definition at line 50 of file PackageProvider.h.
Referenced by queryInstalled(), and queryInstalledCB().
1.5.0