diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-24 03:35:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-24 04:35:35 +0300 |
commit | 0835e09ee3a6c83ffa01454f2c05597e6195b07d (patch) | |
tree | b3b79b7a8f58f2ff18ec66b17d1c39ddad085e11 /src/fs/virtfs/virtfs.h | |
parent | 55458f743c3ff7e42288bc08033481d8464dca62 (diff) | |
download | mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.gz mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.bz2 mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.xz mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.zip |
Improve VirtFs::getFiles.
Diffstat (limited to 'src/fs/virtfs/virtfs.h')
-rw-r--r-- | src/fs/virtfs/virtfs.h | 7 |
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; |