diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
commit | 2157b8c6629cea79801566244fc3f1d8491e91be (patch) | |
tree | fb999e7d464c70511f13472da0fba86749b8d737 /src/utils/files.h | |
parent | e89fb908638196c9484a2038e3f3eb18db6ef4ee (diff) | |
download | manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2 manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.zip |
Add file utils function getFilesInDir.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r-- | src/utils/files.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/files.h b/src/utils/files.h index 80ecb9a43..8123a5949 100644 --- a/src/utils/files.h +++ b/src/utils/files.h @@ -77,6 +77,11 @@ namespace Files const std::string &restrict text); void deleteFilesInDirectory(std::string path); + + void getFilesInDir(const std::string &dir, + StringVect &list, + const std::string &ext); + } // namespace Files #endif // UTILS_FILES_H |