12 #ifndef ZYPP_REPO_PACKAGEPROVIDER_H 13 #define ZYPP_REPO_PACKAGEPROVIDER_H 38 typedef function<bool ( const std::string &, const Edition &, const Arch & )>
QueryInstalledCB;
42 { _queryInstalledCB = queryInstalledCB_r;
return *
this; }
45 bool queryInstalled(
const std::string & name_r,
47 const Arch & arch_r )
const;
94 bool isCached()
const;
107 #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_armv7hnl Arch_armv7nhl ZYPP_API
Provide a package from a Repo.
Combining sat::Solvable and ResStatus.
Easy-to use interface to the ZYPP dependency resolver.