Planeshift
|
#include <download.h>
Public Member Functions | |
Downloader (iVFS *_vfs, UpdaterConfig *_config) | |
Downloader (iVFS *_vfs) | |
bool | DownloadFile (const char *file, const char *dest, bool URL, bool silent=false, uint retries=1, bool vfsPath=false) |
void | Init (iVFS *_vfs) |
void | SetProxy (const char *host, int port) |
~Downloader () | |
Definition at line 33 of file download.h.
Downloader::Downloader | ( | iVFS * | _vfs, |
UpdaterConfig * | _config | ||
) |
Downloader::Downloader | ( | iVFS * | _vfs | ) |
Downloader::~Downloader | ( | ) |
bool Downloader::DownloadFile | ( | const char * | file, |
const char * | dest, | ||
bool | URL, | ||
bool | silent = false , |
||
uint | retries = 1 , |
||
bool | vfsPath = false |
||
) |
void Downloader::Init | ( | iVFS * | _vfs | ) |
void Downloader::SetProxy | ( | const char * | host, |
int | port | ||
) |