summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs.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/virtfs.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/virtfs.h')
-rw-r--r--src/fs/virtfs/virtfs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fs/virtfs/virtfs.h b/src/fs/virtfs/virtfs.h
index ca74206e8..7f9600b88 100644
--- a/src/fs/virtfs/virtfs.h
+++ b/src/fs/virtfs/virtfs.h
@@ -25,10 +25,9 @@
#include "enums/simpletypes/append.h"
-#include "localconsts.h"
+#include "utils/stringvector.h"
-#include <string>
-#include <vector>
+#include "localconsts.h"
struct VirtFile;
struct VirtFsEntry;
@@ -95,6 +94,8 @@ namespace VirtFs
#endif // UNITTESTS
const char *loadFile(std::string filename,
int &restrict fileSize);
+ void getFiles(std::string path,
+ StringVect &list);
} // namespace VirtFs
extern const char *dirSeparator;