12#ifndef ZYPP_REPO_PACKAGEPROVIDER_H
13#define ZYPP_REPO_PACKAGEPROVIDER_H
45 bool queryInstalled(
const std::string & name_r,
47 const Arch & arch_r )
const;
Edition represents [epoch:]version[-release]
TraitsType::constPtrType constPtr
Combining sat::Solvable and ResStatus.
Candidate delta and patches for a package.
Policies and options for PackageProvider.
function< bool(const std::string &, const Edition &, const Arch &)> QueryInstalledCB
Get installed Editions callback signature.
QueryInstalledCB _queryInstalledCB
PackageProviderPolicy & queryInstalledCB(QueryInstalledCB queryInstalledCB_r)
Set callback.
RW_pointer< Impl > _pimpl
Implementation class.
PackageProvider(RepoMediaAccess &access, const PoolItem &pi_r, PackageProviderPolicy policy_r=PackageProviderPolicy())
Ctor taking the package to provide.
ManagedFile providePackage() const
Provide the package.
bool isCached() const
Whether the package is cached.
ManagedFile providePackageFromCache() const
Provide the package if it is cached.
Easy-to use interface to the ZYPP dependency resolver.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Wrapper for const correct access via Smart pointer types.
PackageProvider implementation interface.