35 #if defined(ANDROID) || defined(__native_client__)
36 typedef void (*CopyFileCallbackPtr) (
int cnt);
38 void setCopyCallBack(CopyFileCallbackPtr callback);
40 void copyVirtFsFile(
const std::string &
restrict inFile,
41 const std::string &
restrict outFile);
43 void copyVirtFsDir(
const std::string &
restrict inDir,
67 const bool skipSymlinks);
bool loadTextFileLocal(const std::string &fileName, StringVect &lines)
int renameFile(const std::string &pFrom, const std::string &pTo)
int copyFile(const std::string &pFrom, const std::string &pTo)
void deleteFilesInDirectory(std::string path)
void enumFiles(StringVect &files, std::string path, const bool skipSymlinks)
bool existsLocal(const std::string &path)
void saveTextFile(const std::string &path, const std::string &name, const std::string &text)
std::vector< std::string > StringVect