12 #ifndef ZYPP_REPO_PACKAGEPROVIDER_H 13 #define ZYPP_REPO_PACKAGEPROVIDER_H 37 typedef function<bool ( const std::string &, const Edition &, const Arch & )>
QueryInstalledCB;
41 { _queryInstalledCB = queryInstalledCB_r;
return *
this; }
44 bool queryInstalled(
const std::string & name_r,
46 const Arch & arch_r )
const;
93 bool isCached()
const;
106 #endif // ZYPP_SOURCE_PACKAGEPROVIDER_H PackageProvider implementation interface.
Candidate delta and patches for a package.
TraitsType::constPtrType constPtr
PackageProviderPolicy & queryInstalledCB(QueryInstalledCB queryInstalledCB_r)
Set callback.
Policies and options for PackageProvider.
Edition represents [epoch:]version[-release]
QueryInstalledCB _queryInstalledCB
function< bool(const std::string &, const Edition &, const Arch &)> QueryInstalledCB
Get installed Editions callback signature.
RW_pointer< Impl > _pimpl
Implementation class.
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Provide a package from a Repo.
Combining sat::Solvable and ResStatus.
Easy-to use interface to the ZYPP dependency resolver.