diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 00:09:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 00:09:28 +0300 |
commit | af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a (patch) | |
tree | 0074b8eb5fea7f48f44dd81bc5089316e81aafd0 /src/fs/virtfsdir.h | |
parent | db31c2f832dd4067e4670dd469fe3b696188576b (diff) | |
download | manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.gz manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.bz2 manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.xz manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.zip |
Impliment some functions in VirtFs with physfs disabled.
Diffstat (limited to 'src/fs/virtfsdir.h')
-rw-r--r-- | src/fs/virtfsdir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfsdir.h b/src/fs/virtfsdir.h index 8ea825d82..0ec2f466d 100644 --- a/src/fs/virtfsdir.h +++ b/src/fs/virtfsdir.h @@ -52,7 +52,9 @@ namespace VirtFsDir void deinit(); std::vector<VirtDirEntry*> &getEntries(); bool exists(std::string name); - VirtList *enumerateFiles(std::string dir) RETURNS_NONNULL; + VirtList *enumerateFiles(const std::string &dirName) RETURNS_NONNULL; + VirtList *enumerateFiles(std::string dirName, + VirtList *const list) RETURNS_NONNULL; bool isDirectory(std::string dirName); bool isSymbolicLink(std::string name); void freeList(VirtList *restrict const handle); |