Adds a Downloader component to JGE able to download and cache files.

This commit is contained in:
xawotihs
2014-01-12 22:16:35 +01:00
parent dec1caa43c
commit 25955303e7
6 changed files with 452 additions and 13 deletions

View File

@@ -128,6 +128,7 @@ public:
bool readIntoString(const string & FilePath, string & target);
bool openForWrite(ofstream & File, const string & FilePath, ios_base::openmode mode = ios_base::out );
bool Rename(string from, string to);
bool Remove(string aFile);
//Returns true if strFilename exists somewhere in the fileSystem
bool FileExists(const string& strFilename);
@@ -163,4 +164,4 @@ protected:
#endif
#endif