diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-04 00:27:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-04 01:12:19 +0300 |
commit | 79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00 (patch) | |
tree | f9669ee10e2ea3f2c41abaa84830da9efe7f9411 /src/fs/virtfstools.cpp | |
parent | a6c70dd1f32c38cc81cfd4b28f929d7c13d86db1 (diff) | |
download | mv-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.gz mv-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.bz2 mv-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.xz mv-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.zip |
Reimplement VirtFs in correct way. Now all tests should pass.
Diffstat (limited to 'src/fs/virtfstools.cpp')
-rw-r--r-- | src/fs/virtfstools.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/fs/virtfstools.cpp b/src/fs/virtfstools.cpp index cf3da4b7a..0b434a340 100644 --- a/src/fs/virtfstools.cpp +++ b/src/fs/virtfstools.cpp @@ -227,37 +227,3 @@ namespace VirtFs return true; } } // namespace VirtFs - -#ifdef USE_PHYSFS -// +++ temporary add it here -namespace VirtFsPhys -{ - void getFiles(const std::string &path, - StringVect &list) - { - VirtList *const fonts = VirtFsPhys::enumerateFiles(path); - FOR_EACH (StringVectCIter, i, fonts->names) - { - if (!VirtFsPhys::isDirectory(path + dirSeparator + *i)) - list.push_back(*i); - } - VirtFsPhys::freeList(fonts); - } -} // namespace VirtFs -#else // USE_PHYSFS -// +++ temporary add it here -namespace VirtFsDir -{ - void getFiles(const std::string &path, - StringVect &list) - { - VirtList *const fonts = VirtFsDir::enumerateFiles(path); - FOR_EACH (StringVectCIter, i, fonts->names) - { - if (!VirtFsDir::isDirectory(path + dirSeparator + *i)) - list.push_back(*i); - } - VirtFsDir::freeList(fonts); - } -} // namespace VirtFs -#endif // USE_PHYSFS |