]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
export patch from Dekel
[lyx.git] / src / support / filetools.h
index 289e702e801870daa88a303809a1347345042bef..24dc32bab97dd02ecbd7c07377a3232300f563cc 100644 (file)
@@ -139,6 +139,9 @@ string const AddPath(string const & path, string const & path2);
 string const
 ChangeExtension(string const & oldname, string const & extension);
 
+/// Return the extension of the file (not including the .)
+string GetExtension(string const & name);
+
 /// Create absolute path. If impossible, don't do anything
 string const ExpandPath(string const & path);
 
@@ -199,4 +202,7 @@ bool LyXReadLink(string const & file, string & Link);
 /* Uses kpsewhich to find tex files */
 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