5#ifndef MOLYBDEN_DOWNLOAD_HPP
6#define MOLYBDEN_DOWNLOAD_HPP
8#include "molybden/download/download_events.hpp"
A class that contains all download events.
Definition download_events.hpp:261
A download activity.
Definition download.hpp:35
virtual void pause()=0
Pauses this download.
virtual bool isCanceled()=0
Indicates whether this download is cancelled.
virtual bool isInProgress()=0
Indicates whether this download is actively progressing.
virtual void resume()=0
Resumes this download.
virtual void cancel()=0
Cancels this download.
virtual bool isFinished()=0
Indicates whether this download is completely finished.
virtual DownloadTarget target()=0
Returns the download target.
virtual bool isInterrupted()=0
Indicates whether this download is interrupted.
virtual bool isPaused()=0
Indicates whether this download is paused.
The details of the download target.
Definition download.hpp:15
std::string suggested_file_name
The suggested download file name.
Definition download.hpp:29
std::string mime_type
The MIME type of the download.
Definition download.hpp:24
std::string url
The URL of the download.
Definition download.hpp:19