Planeshift
Downloader Class Reference

#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 ()
 

Detailed Description

Definition at line 33 of file download.h.

Constructor & Destructor Documentation

Downloader::Downloader ( iVFS *  _vfs,
UpdaterConfig _config 
)
Downloader::Downloader ( iVFS *  _vfs)
Downloader::~Downloader ( )

Member Function Documentation

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 
)

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