10#ifndef ZYPP_PROVIDEFILEPOLICY_H
11#define ZYPP_PROVIDEFILEPOLICY_H
16#include <zypp/base/Function.h>
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Policy for provideFile and RepoMediaAccess.
ProvideFilePolicy & fileChecker(FileChecker fileChecker_r)
Add a FileCecker passed down to the Fetcher.
function< bool(int)> ProgressCB
Progress callback signature.
bool progress(int value) const
Evaluate callback.
ProvideFilePolicy & progressCB(ProgressCB progressCB_r)
Set callback.
const FileChecker & fileChecker() const
The FileCecker.
Easy-to use interface to the ZYPP dependency resolver.
function< void(const Pathname &file) FileChecker)
Functor signature used to check files.