Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
CDownload Class Reference

#include <Download.h>

Public Member Functions

 CDownload (IDownload *listener)
 
 ~CDownload ()
 
virtual HRESULT PumpMessages ()
 
virtual HRESULT Abort ()
 
virtual HRESULT DownloadFile (LPCSTR server, LPCSTR username, LPCSTR password, LPCSTR file, LPCSTR localfile, LPCSTR regkey, bool tryresume=true)
 
virtual HRESULT GetLastLocalFile (char *local_file, int maxlen)
 

Detailed Description

Definition at line 41 of file Download.h.

Constructor & Destructor Documentation

◆ CDownload()

CDownload::CDownload ( IDownload * listener)
inline

Definition at line 44 of file Download.h.

◆ ~CDownload()

CDownload::~CDownload ( )
inline

Definition at line 67 of file Download.h.

Member Function Documentation

◆ Abort()

HRESULT CDownload::Abort ( )
virtual

Definition at line 128 of file Download.cpp.

◆ DownloadFile()

HRESULT CDownload::DownloadFile ( LPCSTR server,
LPCSTR username,
LPCSTR password,
LPCSTR file,
LPCSTR localfile,
LPCSTR regkey,
bool tryresume = true )
virtual

Definition at line 39 of file Download.cpp.

◆ GetLastLocalFile()

HRESULT CDownload::GetLastLocalFile ( char * local_file,
int maxlen )
virtual

Definition at line 112 of file Download.cpp.

◆ PumpMessages()

HRESULT CDownload::PumpMessages ( )
virtual

DBGMSG("Get Next File Block");

Definition at line 157 of file Download.cpp.


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