]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
move funtion with std::vector to filetools
[lyx.git] / src / support / filetools.h
index 512d78db80e2d33147e0a82c7bacd7d2f40e7287..dce6e6979d06d8164ca12faf4201859ad4be7985 100644 (file)
@@ -152,7 +152,7 @@ std::string const latex_path(std::string const & path,
                latex_path_dots dots = LEAVE_DOTS);
 
 /// Substitutes active latex characters with underscores in filename
-std::string const makeLatexName(std::string const & file);
+FileName const makeLatexName(FileName const & file);
 
 /** Put the name in quotes suitable for the current shell or python,
     depending on \p style. */
@@ -275,6 +275,10 @@ typedef std::pair<int, std::string> cmd_ret;
 
 cmd_ret const runCommand(std::string const & cmd);
 
+/// \return list other files in the directory having optional extension 'ext'.
+std::vector<FileName> dirList(FileName const & filename, std::string const & ext);
+
+
 } // namespace support
 } // namespace lyx