diff options
Diffstat (limited to 'src/common/file_util.h')
| -rw-r--r-- | src/common/file_util.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index cddcd1951..c7e11ec0c 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h | |||
| @@ -47,7 +47,7 @@ enum { | |||
| 47 | namespace FileUtil | 47 | namespace FileUtil |
| 48 | { | 48 | { |
| 49 | 49 | ||
| 50 | // FileSystem tree node/ | 50 | // FileSystem tree node/ |
| 51 | struct FSTEntry | 51 | struct FSTEntry |
| 52 | { | 52 | { |
| 53 | bool isDirectory; | 53 | bool isDirectory; |
| @@ -85,13 +85,13 @@ bool Delete(const std::string &filename); | |||
| 85 | // Deletes a directory filename, returns true on success | 85 | // Deletes a directory filename, returns true on success |
| 86 | bool DeleteDir(const std::string &filename); | 86 | bool DeleteDir(const std::string &filename); |
| 87 | 87 | ||
| 88 | // renames file srcFilename to destFilename, returns true on success | 88 | // renames file srcFilename to destFilename, returns true on success |
| 89 | bool Rename(const std::string &srcFilename, const std::string &destFilename); | 89 | bool Rename(const std::string &srcFilename, const std::string &destFilename); |
| 90 | 90 | ||
| 91 | // copies file srcFilename to destFilename, returns true on success | 91 | // copies file srcFilename to destFilename, returns true on success |
| 92 | bool Copy(const std::string &srcFilename, const std::string &destFilename); | 92 | bool Copy(const std::string &srcFilename, const std::string &destFilename); |
| 93 | 93 | ||
| 94 | // creates an empty file filename, returns true on success | 94 | // creates an empty file filename, returns true on success |
| 95 | bool CreateEmptyFile(const std::string &filename); | 95 | bool CreateEmptyFile(const std::string &filename); |
| 96 | 96 | ||
| 97 | // Scans the directory tree gets, starting from _Directory and adds the | 97 | // Scans the directory tree gets, starting from _Directory and adds the |
| @@ -110,7 +110,7 @@ void CopyDir(const std::string &source_path, const std::string &dest_path); | |||
| 110 | // Set the current directory to given directory | 110 | // Set the current directory to given directory |
| 111 | bool SetCurrentDir(const std::string &directory); | 111 | bool SetCurrentDir(const std::string &directory); |
| 112 | 112 | ||
| 113 | // Returns a pointer to a string with a Dolphin data dir in the user's home | 113 | // Returns a pointer to a string with a Citra data dir in the user's home |
| 114 | // directory. To be used in "multi-user" mode (that is, installed). | 114 | // directory. To be used in "multi-user" mode (that is, installed). |
| 115 | const std::string& GetUserPath(const unsigned int DirIDX, const std::string &newPath=""); | 115 | const std::string& GetUserPath(const unsigned int DirIDX, const std::string &newPath=""); |
| 116 | 116 | ||
| @@ -142,10 +142,10 @@ public: | |||
| 142 | IOFile(const std::string& filename, const char openmode[]); | 142 | IOFile(const std::string& filename, const char openmode[]); |
| 143 | 143 | ||
| 144 | ~IOFile(); | 144 | ~IOFile(); |
| 145 | 145 | ||
| 146 | IOFile(IOFile&& other); | 146 | IOFile(IOFile&& other); |
| 147 | IOFile& operator=(IOFile&& other); | 147 | IOFile& operator=(IOFile&& other); |
| 148 | 148 | ||
| 149 | void Swap(IOFile& other); | 149 | void Swap(IOFile& other); |
| 150 | 150 | ||
| 151 | bool Open(const std::string& filename, const char openmode[]); | 151 | bool Open(const std::string& filename, const char openmode[]); |