]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Herbert's latest graphics patch.
[lyx.git] / src / support / filetools.h
index 4c5bc161bccded82e5a21341ded56449bba2c6b7..5a4d0eb64dbd08080bc9ad85c51e4363640b8bb7 100644 (file)
@@ -132,6 +132,10 @@ ChangeExtension(string const & oldname, string const & extension);
 /// Return the extension of the file (not including the .)
 string const GetExtension(string const & name);
 
+/// Return the type of the file as an extension from contents
+///
+string const getExtFromContents(string const & name);
+
 /// Returns true is path is absolute
 bool AbsolutePath(string const & path);
 
@@ -191,4 +195,5 @@ string const findtexfile(string const & fil, string const & format);
 /// remove the autosave-file and give a Message if it can't be done
 void removeAutosaveFile(string const & filename);
 
+
 #endif