diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-05 02:13:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-05 02:13:49 +0300 |
commit | aa549268c57e8dd7478693b160b7aadb35ff2e09 (patch) | |
tree | faa03b537f989a8e13ee8302aa402053fdafb4ec /src/fs/virtfs/virtfsdir.cpp | |
parent | b66361dc7e3d831c3f3d27eca30a675b18b2d73b (diff) | |
download | manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.gz manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.bz2 manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.tar.xz manaverse-aa549268c57e8dd7478693b160b7aadb35ff2e09.zip |
Rename virtfsentry into fsentry.
Diffstat (limited to 'src/fs/virtfs/virtfsdir.cpp')
-rw-r--r-- | src/fs/virtfs/virtfsdir.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/virtfs/virtfsdir.cpp b/src/fs/virtfs/virtfsdir.cpp index df2511bf8..0f94e3fa0 100644 --- a/src/fs/virtfs/virtfsdir.cpp +++ b/src/fs/virtfs/virtfsdir.cpp @@ -61,7 +61,7 @@ namespace namespace VirtFsDir { - File *openInternal(VirtFsEntry *restrict const entry, + File *openInternal(FsEntry *restrict const entry, const std::string &filename, const FILEMTYPE mode) { @@ -80,19 +80,19 @@ namespace VirtFsDir return file; } - File *openRead(VirtFsEntry *restrict const entry, + File *openRead(FsEntry *restrict const entry, const std::string &filename) { return openInternal(entry, filename, FILEOPEN_FLAG_READ); } - File *openWrite(VirtFsEntry *restrict const entry, + File *openWrite(FsEntry *restrict const entry, const std::string &filename) { return openInternal(entry, filename, FILEOPEN_FLAG_WRITE); } - File *openAppend(VirtFsEntry *restrict const entry, + File *openAppend(FsEntry *restrict const entry, const std::string &filename) { return openInternal(entry, filename, FILEOPEN_FLAG_APPEND); @@ -167,7 +167,7 @@ namespace VirtFsDir return mUserDir.c_str(); } - bool getRealDir(VirtFsEntry *restrict const entry, + bool getRealDir(FsEntry *restrict const entry, const std::string &filename, const std::string &dirName A_UNUSED, std::string &realDir) @@ -181,14 +181,14 @@ namespace VirtFsDir return false; } - bool exists(VirtFsEntry *restrict const entry, + bool exists(FsEntry *restrict const entry, const std::string &fileName, const std::string &dirName A_UNUSED) { return Files::existsLocal(entry->root + fileName); } - void enumerate(VirtFsEntry *restrict const entry, + void enumerate(FsEntry *restrict const entry, const std::string &dirName, StringVect &names) { @@ -230,7 +230,7 @@ namespace VirtFsDir } } - bool isDirectory(VirtFsEntry *restrict const entry, + bool isDirectory(FsEntry *restrict const entry, const std::string &dirName, bool &isDirFlag) { @@ -457,7 +457,7 @@ namespace VirtFsDir return pos < 0 || len < 0 || pos >= len; } - const char *loadFile(VirtFsEntry *restrict const entry, + const char *loadFile(FsEntry *restrict const entry, const std::string &restrict filename, int &restrict fileSize) { @@ -520,7 +520,7 @@ namespace VirtFsDir return buffer; } - void getFiles(VirtFsEntry *restrict const entry, + void getFiles(FsEntry *restrict const entry, const std::string &dirName, StringVect &names) { @@ -569,7 +569,7 @@ namespace VirtFsDir } } - void getFilesWithDir(VirtFsEntry *restrict const entry, + void getFilesWithDir(FsEntry *restrict const entry, const std::string &dirName, StringVect &names) { @@ -618,7 +618,7 @@ namespace VirtFsDir } } - void getDirs(VirtFsEntry *restrict const entry, + void getDirs(FsEntry *restrict const entry, const std::string &dirName, StringVect &names) { |