]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
cosmetics
[lyx.git] / src / support / filetools.h
index cc9ff79bfde4ae86e9edc5bc278463e96d2a1398..32ef735085ddddf3fb65fefa4e7d4b292eecd8c6 100644 (file)
 namespace lyx {
 namespace support {
 
-/// remove directory and all contents, returns true on success
-bool destroyDir(FileName const & tmpdir);
-
 /// Creates the per buffer temporary directory
 std::string const createBufferTmpDir();
 
-/// Creates directory. Returns true on success
-bool createDirectory(FileName const & name, int permissions);
-
 /** Creates the global LyX temp dir.
   \p deflt can be an existing directory name. In this case a new directory
   inside \p deflt is created. If \p deflt does not exist yet, \p deflt is
@@ -195,15 +189,6 @@ addExtension(std::string const & name, std::string const & extension);
 /// Return the extension of the file (not including the .)
 std::string const getExtension(std::string const & name);
 
-/** Guess the file format name (as in Format::name()) from contents.
- Normally you don't want to use this directly, but rather
- Formats::getFormatFromFile().
- */
-std::string const getFormatFromContents(FileName const & name);
-
-/// check for zipped file
-bool zippedFile(FileName const & name);
-
 /** \return the name that LyX will give to the unzipped file \p zipped_file
   if the second argument of unzipFile() is empty.
  */
@@ -257,9 +242,6 @@ std::string const normalizePath(std::string const & path);
 /// Strips path from filename
 std::string const onlyFilename(std::string const & fname);
 
-/// Get the contents of a file as a huge std::string
-std::string const getFileContents(FileName const & fname);
-
 /** Check and Replace Environmentvariables ${NAME} in Path.
     Replaces all occurences of these, if they are found in the
     environment.