From 1127e07a2a6d6b3c0cbd342396e6c8af7ee54040 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 15 Oct 2014 13:05:40 +0200 Subject: added a directory scanner (Linux for now) --- include/util/FileUtils.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/util/FileUtils.hpp (limited to 'include') diff --git a/include/util/FileUtils.hpp b/include/util/FileUtils.hpp new file mode 100644 index 0000000..a9526ec --- /dev/null +++ b/include/util/FileUtils.hpp @@ -0,0 +1,11 @@ +#ifndef __UTIL_FILE_UTILS_H +#define __UTIL_FILE_UTILS_H + +#include +#include + +#include "util/UtilExportable.hpp" + +UTIL_DLL_VISIBLE std::vector directory_entries( const std::string &dir, bool absolute = false, bool recursive = false ); + +#endif -- cgit v1.2.3-54-g00ecf