More work to let clients download avatars from an external server.

This commit is contained in:
lotodore
2009-03-21 11:36:10 +00:00
parent 55a29f9a38
commit c3dc770c2e
5 changed files with 56 additions and 22 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ public:
virtual ~DownloaderThread();
void QueueDownload(unsigned downloadId, const std::string &url, const std::string &filename);
bool PollDownloadResult(unsigned &downloadId, std::vector<unsigned char> &filedata);
bool HasDownloadResult() const;
bool GetDownloadResult(unsigned &downloadId, std::vector<unsigned char> &filedata);
protected:
struct DownloadData