RADLib
RADical C++ application framework
RADWeb::RADWebDownloadInfo Struct Reference

Download state used by download events and the downloads pane. More...

#include <RADWeb.h>

Public Attributes

int id = 0
 Stable download id for this browser window. More...
 
std::string uri
 Source URI. More...
 
std::string destination
 Local destination path. More...
 
std::string suggestedFileName
 Filename suggested by WebKit/server metadata. More...
 
double progress = 0.0
 Progress in the 0.0 to 1.0 range when known. More...
 
uint64_t receivedBytes = 0
 Number of bytes received so far. More...
 
bool finished = false
 True when the download completed successfully. More...
 

Detailed Description

Download state used by download events and the downloads pane.

Member Data Documentation

◆ destination

std::string RADWeb::RADWebDownloadInfo::destination

Local destination path.

◆ finished

bool RADWeb::RADWebDownloadInfo::finished = false

True when the download completed successfully.

◆ id

int RADWeb::RADWebDownloadInfo::id = 0

Stable download id for this browser window.

◆ progress

double RADWeb::RADWebDownloadInfo::progress = 0.0

Progress in the 0.0 to 1.0 range when known.

◆ receivedBytes

uint64_t RADWeb::RADWebDownloadInfo::receivedBytes = 0

Number of bytes received so far.

◆ suggestedFileName

std::string RADWeb::RADWebDownloadInfo::suggestedFileName

Filename suggested by WebKit/server metadata.

◆ uri

std::string RADWeb::RADWebDownloadInfo::uri

Source URI.


The documentation for this struct was generated from the following file: