summaryrefslogtreecommitdiff
path: root/src/fs/virtfsdir.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-01 00:09:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-01 00:09:28 +0300
commitaf8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a (patch)
tree0074b8eb5fea7f48f44dd81bc5089316e81aafd0 /src/fs/virtfsdir.h
parentdb31c2f832dd4067e4670dd469fe3b696188576b (diff)
downloadplus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.gz
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.bz2
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.xz
plus-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.zip
Impliment some functions in VirtFs with physfs disabled.
Diffstat (limited to 'src/fs/virtfsdir.h')
-rw-r--r--src/fs/virtfsdir.h4
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);