#include <downloadInterface.h>
Inheritance diagram for Spm::Plugin::DownloadInterface:

Public Member Functions | |
| virtual | ~DownloadInterface () |
| virtual void | download (const miniXml::ustring &uri, const boost::filesystem::path &to)=0 |
| download a file to a specific location | |
| virtual bool | handle (const miniXml::ustring &uri)=0 |
| Check if the Plugin can handle an URI uri The URI to check. | |
| double | getFractionDone () |
Protected Member Functions | |
| DownloadInterface () | |
| DownloadInterface (const Util::urlDetails &u) | |
Protected Attributes | |
| double | fractionDone |
| Util::urlDetails | url |
| Spm::Plugin::DownloadInterface::DownloadInterface | ( | ) | [inline, protected] |
| Spm::Plugin::DownloadInterface::DownloadInterface | ( | const Util::urlDetails & | u | ) | [inline, protected] |
| virtual Spm::Plugin::DownloadInterface::~DownloadInterface | ( | ) | [inline, virtual] |
| virtual void Spm::Plugin::DownloadInterface::download | ( | const miniXml::ustring & | uri, | |
| const boost::filesystem::path & | to | |||
| ) | [pure virtual] |
download a file to a specific location
| uri | The URI of the file to download | |
| to | The location of the downloaded file |
| virtual bool Spm::Plugin::DownloadInterface::handle | ( | const miniXml::ustring & | uri | ) | [pure virtual] |
Check if the Plugin can handle an URI uri The URI to check.
| double Spm::Plugin::DownloadInterface::getFractionDone | ( | ) | [inline] |
double Spm::Plugin::DownloadInterface::fractionDone [protected] |
Util::urlDetails Spm::Plugin::DownloadInterface::url [protected] |
1.5.2