|
Cupt
|
downloadable element More...
#include <cupt/download/manager.hpp>
Public Attributes | |
| vector< ExtendedUri > | extendedUris |
| list of alternative uris | |
| string | targetPath |
| path where to place downloaded file | |
| size_t | size |
| std::function< string() > | postAction |
| post-download callback More... | |
| bool | optional |
true if failure to download this is not an error | |
downloadable element
| std::function< string () > cupt::download::Manager::DownloadEntity::postAction |
post-download callback
Returned empty string means no errors. Returned non-empty string marks a download as failed and sets this string as download result.
| size_t cupt::download::Manager::DownloadEntity::size |
file size, in bytes; set -1 if unknown
1.8.5