]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
I'll find a solution for the 'dirList problem', Abdel.
[lyx.git] / src / support / filetools.h
index 5bd8167fb64f613e7b33b220ad1e856102441872..383aeac2f8b58cf937d9ba8a56dc5cb29a9d5516 100644 (file)
@@ -275,6 +275,10 @@ typedef std::pair<int, std::string> cmd_ret;
 
 cmd_ret const runCommand(std::string const & cmd);
 
+/// \return list files in a directory having optional extension ext..
+std::vector<FileName> dirList(FileName const & dir,
+               std::string const & ext = empty_string());
+
 } // namespace support
 } // namespace lyx