summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsfuncs.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-24 03:35:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-24 04:35:35 +0300
commit0835e09ee3a6c83ffa01454f2c05597e6195b07d (patch)
treeb3b79b7a8f58f2ff18ec66b17d1c39ddad085e11 /src/fs/virtfs/virtfsfuncs.h
parent55458f743c3ff7e42288bc08033481d8464dca62 (diff)
downloadplus-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.gz
plus-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.bz2
plus-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.xz
plus-0835e09ee3a6c83ffa01454f2c05597e6195b07d.zip
Improve VirtFs::getFiles.
Diffstat (limited to 'src/fs/virtfs/virtfsfuncs.h')
-rw-r--r--src/fs/virtfs/virtfsfuncs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfsfuncs.h b/src/fs/virtfs/virtfsfuncs.h
index 84345679b..47d765c5c 100644
--- a/src/fs/virtfs/virtfsfuncs.h
+++ b/src/fs/virtfs/virtfsfuncs.h
@@ -43,6 +43,7 @@ struct VirtFsFuncs final
exists(nullptr),
getRealDir(nullptr),
enumerate(nullptr),
+ getFiles(nullptr),
isDirectory(nullptr),
openRead(nullptr),
openWrite(nullptr),
@@ -84,6 +85,9 @@ struct VirtFsFuncs final
void (*enumerate) (VirtFsEntry *restrict const entry,
const std::string &dirName,
StringVect &names);
+ void (*getFiles) (VirtFsEntry *restrict const entry,
+ const std::string &dirName,
+ StringVect &names);
bool (*isDirectory) (VirtFsEntry *restrict const entry,
const std::string &dirName,
bool &isDirFlag);