Go to the documentation of this file.
12 #ifndef ZYPP_REPO_PACKAGEPROVIDER_H
13 #define ZYPP_REPO_PACKAGEPROVIDER_H
47 const Arch & arch_r )
const;
107 #endif // ZYPP_SOURCE_PACKAGEPROVIDER_H
Combining sat::Solvable and ResStatus.
RW_pointer< Impl > _pimpl
Implementation class.
ManagedFile providePackage() const
Provide the package.
Edition represents [epoch:]version[-release]
TraitsType::constPtrType constPtr
PackageProvider(RepoMediaAccess &access, const PoolItem &pi_r, const PackageProviderPolicy &policy_r=PackageProviderPolicy())
Ctor taking the package to provide.
bool queryInstalled(const std::string &name_r, const Edition &ed_r, const Arch &arch_r) const
Evaluate callback.
Policies and options for PackageProvider.
Easy-to use interface to the ZYPP dependency resolver.
PackageProviderPolicy & queryInstalledCB(QueryInstalledCB queryInstalledCB_r)
Set callback.
ManagedFile providePackageFromCache() const
Provide the package if it is cached.
bool isCached() const
Whether the package is cached.
QueryInstalledCB _queryInstalledCB
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Candidate delta and patches for a package.
function< bool(const std::string &, const Edition &, const Arch &)> QueryInstalledCB
Get installed Editions callback signature.
PackageProvider implementation interface.
Provide a package from a Repo.