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

Inherits DownloadManager, and DownloadManager.

Public Member Functions

 DownloadManagerMunkee ()
 
virtual HRESULT OnError (Int error)
 
virtual HRESULT OnEnd ()
 
virtual HRESULT OnProgressUpdate (Int bytesread, Int totalsize, Int timetaken, Int timeleft)
 
virtual HRESULT OnStatusUpdate (Int status)
 
virtual HRESULT downloadFile (AsciiString server, AsciiString username, AsciiString password, AsciiString file, AsciiString localfile, AsciiString regkey, Bool tryResume)
 
 DownloadManagerMunkee ()
 
virtual HRESULT OnError (int error)
 
virtual HRESULT OnEnd ()
 
virtual HRESULT OnProgressUpdate (int bytesread, int totalsize, int timetaken, int timeleft)
 
virtual HRESULT OnStatusUpdate (int status)
 
virtual HRESULT downloadFile (std::string server, std::string username, std::string password, std::string file, std::string localfile, std::string regkey, bool tryResume)
 
- Public Member Functions inherited from DownloadManager
 DownloadManager ()
 
virtual ~DownloadManager ()
 
void init (void)
 
HRESULT update (void)
 
void reset (void)
 
virtual HRESULT OnQueryResume ()
 
AsciiString getLastLocalFile (void)
 
Bool isDone (void)
 
Bool isOk (void)
 
Bool wasError (void)
 
UnicodeString getStatusString (void)
 
UnicodeString getErrorString (void)
 
void queueFileForDownload (AsciiString server, AsciiString username, AsciiString password, AsciiString file, AsciiString localfile, AsciiString regkey, Bool tryResume)
 
Bool isFileQueuedForDownload (void)
 
HRESULT downloadNextQueuedFile (void)
 
 DownloadManager ()
 
virtual ~DownloadManager ()
 
void init (void)
 
HRESULT update (void)
 
void reset (void)
 
virtual HRESULT OnQueryResume ()
 
std::string getLastLocalFile (void)
 
bool isDone (void)
 
bool isOk (void)
 
bool wasError (void)
 
std::string getStatusString (void)
 
std::string getErrorString (void)
 
void queueFileForDownload (std::string server, std::string username, std::string password, std::string file, std::string localfile, std::string regkey, bool tryResume)
 
bool isFileQueuedForDownload (void)
 
HRESULT downloadNextQueuedFile (void)
 

Additional Inherited Members

- Protected Attributes inherited from DownloadManager
std::list< QueuedDownloadm_queuedDownloads
 

Detailed Description

Definition at line 118 of file DownloadMenu.cpp.

Constructor & Destructor Documentation

◆ DownloadManagerMunkee() [1/2]

DownloadManagerMunkee::DownloadManagerMunkee ( )
inline

Definition at line 121 of file DownloadMenu.cpp.

◆ DownloadManagerMunkee() [2/2]

DownloadManagerMunkee::DownloadManagerMunkee ( )
inline

Definition at line 85 of file CHATAPI.CPP.

Member Function Documentation

◆ downloadFile() [1/2]

HRESULT DownloadManagerMunkee::downloadFile ( AsciiString server,
AsciiString username,
AsciiString password,
AsciiString file,
AsciiString localfile,
AsciiString regkey,
Bool tryResume )
virtual

Reimplemented from DownloadManager.

Definition at line 132 of file DownloadMenu.cpp.

◆ downloadFile() [2/2]

HRESULT DownloadManagerMunkee::downloadFile ( std::string server,
std::string username,
std::string password,
std::string file,
std::string localfile,
std::string regkey,
bool tryResume )
virtual

Reimplemented from DownloadManager.

Definition at line 95 of file CHATAPI.CPP.

◆ OnEnd() [1/2]

HRESULT DownloadManagerMunkee::OnEnd ( )
virtual

Reimplemented from DownloadManager.

Definition at line 167 of file DownloadMenu.cpp.

◆ OnEnd() [2/2]

virtual HRESULT DownloadManagerMunkee::OnEnd ( )
virtual

Reimplemented from DownloadManager.

◆ OnError() [1/2]

HRESULT DownloadManagerMunkee::OnError ( Int error)
virtual

Reimplemented from DownloadManager.

Definition at line 160 of file DownloadMenu.cpp.

◆ OnError() [2/2]

HRESULT DownloadManagerMunkee::OnError ( int error)
virtual

Reimplemented from DownloadManager.

Definition at line 107 of file CHATAPI.CPP.

◆ OnProgressUpdate() [1/2]

HRESULT DownloadManagerMunkee::OnProgressUpdate ( Int bytesread,
Int totalsize,
Int timetaken,
Int timeleft )
virtual

Reimplemented from DownloadManager.

Definition at line 184 of file DownloadMenu.cpp.

◆ OnProgressUpdate() [2/2]

HRESULT DownloadManagerMunkee::OnProgressUpdate ( int bytesread,
int totalsize,
int timetaken,
int timeleft )
virtual

Reimplemented from DownloadManager.

Definition at line 119 of file CHATAPI.CPP.

◆ OnStatusUpdate() [1/2]

HRESULT DownloadManagerMunkee::OnStatusUpdate ( Int status)
virtual

Reimplemented from DownloadManager.

Definition at line 224 of file DownloadMenu.cpp.

◆ OnStatusUpdate() [2/2]

HRESULT DownloadManagerMunkee::OnStatusUpdate ( int status)
virtual

Reimplemented from DownloadManager.

Definition at line 139 of file CHATAPI.CPP.


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