]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
A bunch of conversion to docstring.
[lyx.git] / src / support / filetools.h
index 7820a01dbe9e1b5a5e241cbd255e785be6887c0a..96fd707b5a3b4979d6f98d5ed527bd6386831a8d 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef LYX_FILETOOL_H
 #define LYX_FILETOOL_H
 
+#include "support/docstring.h"
+
 #include <vector>
 #include <utility>
 #include <string>
@@ -98,7 +100,7 @@ i18nLibFileSearch(std::string const & dir,
                  std::string const & name,
                  std::string const & ext = std::string());
 
-/** Takes a command such as "sh $$s/scripts/convertDefault.sh file.in file.out"
+/** Takes a command such as "python $$s/scripts/convertDefault.py file.in file.out"
  *  and replaces "$$s/" with the path to the LyX support directory containing
  *  this script. If the script is not found, "$$s/" is removed. Executing the
  *  command will still fail, but the error message will make some sort of
@@ -202,7 +204,7 @@ std::string const makeAbsPath(std::string const & RelPath = std::string(),
 /** Creates a nice compact path for displaying. The parameter
   threshold, if given, specifies the maximal length of the path.
   */
-std::string const
+lyx::docstring const
 makeDisplayPath(std::string const & path, unsigned int threshold = 1000);
 
 /** Makes relative path out of absolute path.