]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Fix some display glitches
[lyx.git] / src / support / filetools.h
index 58d11542d47505b317e0bcb473ef7e504a15da76..9d91f334de2ba9bf09b1a30ed2a09622b16c0418 100644 (file)
@@ -78,6 +78,9 @@ bool isValidLaTeXFileName(std::string const & filename);
 */
 bool isValidDVIFileName(std::string const & filename);
 
+/// check whether the file has binary contents
+bool isBinaryFile(FileName const & filename);
+
 /** Returns the path of a library data file.
     Search the file name.ext in the subdirectory dir of
       -# user_lyxdir
@@ -125,8 +128,7 @@ enum quote_style {
  *  command will still fail, but the error message will make some sort of
  *  sense ;-)
  */
-std::string const libScriptSearch(std::string const & command,
-               quote_style style = quote_shell);
+std::string const commandPrep(std::string const & command);
 
 enum latex_path_extension {
        PROTECT_EXTENSION,