diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-21 20:16:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-21 20:16:36 +0300 |
commit | 80f7177ea4ce0185e1ef3355e91dcf14617d0f09 (patch) | |
tree | 78e8453d25645b85f2610a504b4a248acee5fb9c /src/utils/files.h | |
parent | c5327f3b1d10171ff2a97546ea49e350b1725c24 (diff) | |
parent | 0dd6ab2bfdee4527ca0960b4e7a64e257bb93fa3 (diff) | |
download | plus-80f7177ea4ce0185e1ef3355e91dcf14617d0f09.tar.gz plus-80f7177ea4ce0185e1ef3355e91dcf14617d0f09.tar.bz2 plus-80f7177ea4ce0185e1ef3355e91dcf14617d0f09.tar.xz plus-80f7177ea4ce0185e1ef3355e91dcf14617d0f09.zip |
Merge branch 'master' into stable
Diffstat (limited to 'src/utils/files.h')
-rw-r--r-- | src/utils/files.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/utils/files.h b/src/utils/files.h index f356d7688..5eb29031e 100644 --- a/src/utils/files.h +++ b/src/utils/files.h @@ -23,6 +23,8 @@ #include <string> +#include "localconsts.h" + namespace Files { #ifdef ANDROID @@ -34,15 +36,19 @@ namespace Files void setCopyCallBack(CopyFileCallbackPtr callback); - void copyPhysFsFile(const std::string &inFile, const std::string &outFile); + void copyPhysFsFile(const std::string &restrict inFile, + const std::string &restrict outFile); - void copyPhysFsDir(const std::string &inDir, const std::string &outDir); + void copyPhysFsDir(const std::string &restrict inDir, + const std::string &restrict outDir); - void extractZip(const std::string &zipName, const std::string &inDir, - const std::string &outDir); + void extractZip(const std::string &restrict zipName, + const std::string &restrict inDir, + const std::string &restrict outDir); #endif // ANDROID __native_client__ - int renameFile(const std::string &pFrom, const std::string &pTo); + int renameFile(const std::string &restrict pFrom, + const std::string &restrict pTo); } // namespace Files #endif // UTILS_FILES_H |