]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
rename getExtFromContents() to getFormatFromContents()
[lyx.git] / src / support / filetools.h
index b145082dd0591722d1b796c0d28b824fdbc3825f..f7b80c6c18fcc79b13cfa4de1e5c22368de8dbd2 100644 (file)
@@ -140,8 +140,8 @@ ChangeExtension(std::string const & oldname, std::string const & extension);
 /// Return the extension of the file (not including the .)
 std::string const GetExtension(std::string const & name);
 
-/// Return the type of the file as an extension from contents
-std::string const getExtFromContents(std::string const & name);
+/// Guess the file format name (as in Format::name()) from contents
+std::string const getFormatFromContents(std::string const & name);
 
 /// check for zipped file
 bool zippedFile(std::string const & name);