| libzypp 17.37.10
    | 
Policy for provideFile and RepoMediaAccess. More...
#include <zypp/ProvideFilePolicy.h>
| Public Types | |
| using | ProgressCB = function<bool (int)> | 
| Progress callback signature. | |
| Public Member Functions | |
| ProvideFilePolicy & | progressCB (ProgressCB progressCB_r) | 
| Set callback. | |
| bool | progress (int value) const | 
| Evaluate callback. | |
| ProvideFilePolicy & | fileChecker (FileChecker fileChecker_r) | 
| Add a FileCecker passed down to the Fetcher. | |
| const FileChecker & | fileChecker () const | 
| The FileCecker. | |
| Private Attributes | |
| FileChecker | _fileChecker | 
| ProgressCB | _progressCB | 
Policy for provideFile and RepoMediaAccess.
Provides callback hook for progress reporting and an optional FileCecker passed down to the Fetcher.
Definition at line 30 of file ProvideFilePolicy.h.
| using zypp::ProvideFilePolicy::ProgressCB = function<bool (int)> | 
Progress callback signature.
Definition at line 34 of file ProvideFilePolicy.h.
| 
 | inline | 
Set callback.
Definition at line 37 of file ProvideFilePolicy.h.
| bool zypp::ProvideFilePolicy::progress | ( | int | value | ) | const | 
Evaluate callback.
Definition at line 28 of file ProvideFilePolicy.cc.
| 
 | inline | 
Add a FileCecker passed down to the Fetcher.
Definition at line 45 of file ProvideFilePolicy.h.
| 
 | inline | 
The FileCecker.
Definition at line 49 of file ProvideFilePolicy.h.
| 
 | private | 
Definition at line 53 of file ProvideFilePolicy.h.
| 
 | private | 
Definition at line 54 of file ProvideFilePolicy.h.