summaryrefslogtreecommitdiff
path: root/src/utils/files.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 13:29:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 13:29:14 +0300
commit3cb15a8f777bd9907d8dc4ba57774c762ec1f67f (patch)
treeec991d4a6c5c9a528163dad15a284674d478e64b /src/utils/files.h
parent5ab85579f493e951d0042cd879cc848d4c7c871b (diff)
downloadmanaverse-3cb15a8f777bd9907d8dc4ba57774c762ec1f67f.tar.gz
manaverse-3cb15a8f777bd9907d8dc4ba57774c762ec1f67f.tar.bz2
manaverse-3cb15a8f777bd9907d8dc4ba57774c762ec1f67f.tar.xz
manaverse-3cb15a8f777bd9907d8dc4ba57774c762ec1f67f.zip
simplify files enumerate function usage.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r--src/utils/files.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/files.h b/src/utils/files.h
index cc578464a..b7b5bbc31 100644
--- a/src/utils/files.h
+++ b/src/utils/files.h
@@ -21,6 +21,8 @@
#ifndef UTILS_FILES_H
#define UTILS_FILES_H
+#include "utils/stringvector.h"
+
#include <string>
#include "localconsts.h"
@@ -52,6 +54,8 @@ namespace Files
int copyFile(const std::string &restrict pFrom,
const std::string &restrict pTo);
+
+ void getFiles(const std::string &path, StringVect &list);
} // namespace Files
#endif // UTILS_FILES_H