summaryrefslogtreecommitdiff
path: root/src/utils/files.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
commit2157b8c6629cea79801566244fc3f1d8491e91be (patch)
treefb999e7d464c70511f13472da0fba86749b8d737 /src/utils/files.h
parente89fb908638196c9484a2038e3f3eb18db6ef4ee (diff)
downloadManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.zip
Add file utils function getFilesInDir.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r--src/utils/files.h5
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