]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
lyx-devel.diff
[lyx.git] / src / support / filetools.h
index f42c539749233bb1f3c7e1cfd2b301ff29cac452..c373562d1ab77342d0bb87befac50912f93dfc17 100644 (file)
@@ -83,6 +83,9 @@ int IsFileWriteable (string const & path);
 ///
 bool IsLyXFilename(string const & filename);
 
+///
+bool IsSGMLFilename(string const & filename);
+
 /** Returns the path of a library data file.
   Search the file name.ext in the subdirectory dir of
   \begin{enumerate}
@@ -121,16 +124,6 @@ string const MakeLatexName(string const & file);
 /// Put the name in quotes suitable for the current shell
 string const QuoteName(string const & file);
 
-#if 0
-/** Returns an unique name to be used as a temporary file. If given,
-  'mask' should the prefix to the temporary file, the rest of the
-  temporary filename will be made from the pid and three letters.
-  */
-string const
-TmpFileName(string const & dir = string(), 
-           string const & mask = "lyx_tmp");
-#endif
-
 /// Is a filename/path absolute?
 bool AbsolutePath(string const & path);
 
@@ -153,11 +146,6 @@ string const GetExtension(string const & name);
 /// Create absolute path. If impossible, don't do anything
 string const ExpandPath(string const & path);
 
-#if 0
-/// gets current working directory
-string const GetCWD();
-#endif
-
 /** Convert relative path into absolute path based on a basepath.
   If relpath is absolute, just use that.
   If basepath doesn't exist use CWD.
@@ -208,10 +196,10 @@ string const ReplaceEnvironmentPath(string const & path);
    Returns true if successful */
 bool LyXReadLink(string const & file, string & Link);
 
-/* Uses kpsewhich to find tex files */
+/// 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 */
+/// remove the autosave-file and give a Message if it can't be done
 void removeAutosaveFile(string const & filename);
 
 #endif