Molybden API
|
A download activity. More...
#include <download.hpp>
Public Member Functions | |
virtual DownloadTarget | target ()=0 |
Returns the download target. | |
virtual bool | isInProgress ()=0 |
Indicates whether this download is actively progressing. | |
virtual bool | isFinished ()=0 |
Indicates whether this download is completely finished. | |
virtual bool | isCanceled ()=0 |
Indicates whether this download is cancelled. | |
virtual bool | isInterrupted ()=0 |
Indicates whether this download is interrupted. | |
virtual bool | isPaused ()=0 |
Indicates whether this download is paused. | |
virtual void | pause ()=0 |
Pauses this download. | |
virtual void | resume ()=0 |
Resumes this download. | |
virtual void | cancel ()=0 |
Cancels this download. | |
Additional Inherited Members | |
Public Attributes inherited from molybden::DownloadEvents | |
Event< DownloadFinished > | onDownloadFinished |
Invoked when the download has been finished. | |
Event< DownloadCanceled > | onDownloadCanceled |
Invoked when the download has been canceled. | |
Event< DownloadInterrupted > | onDownloadInterrupted |
Invoked when the download has been interrupted. | |
Event< DownloadPaused > | onDownloadPaused |
Invoked when the download has been paused. | |
Event< DownloadUpdated > | onDownloadUpdated |
Invoked when the download has been updated. | |
A download activity.
|
pure virtual |
Cancels this download.
Will have no effect when the download is already cancelled.
|
pure virtual |
Pauses this download.
Will have no effect when the download is already paused.
|
pure virtual |
Resumes this download.
Will have no effect when the download is not paused.