]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.h
Correct comment
[lyx.git] / src / support / FileName.h
index 3bfdf13f26d0630cc2169a378fca55667a35c158..923962b03a94891b69635542c930d9e8ee37223d 100644 (file)
@@ -213,7 +213,7 @@ private:
        friend bool equivalent(FileName const &, FileName const &);
        /// Set for tracking of already visited file names.
        /// Uses operator==() (which may be case insensitive), and not
-       /// equvalent(), so that symlinks are not resolved.
+       /// equivalent(), so that symlinks are not resolved.
        typedef std::set<FileName> FileNameSet;
        /// Helper for public copyTo() to find circular symlink chains
        bool copyTo(FileName const &, bool, FileNameSet &) const;
@@ -291,6 +291,14 @@ public:
        std::string
        mangledFileName(std::string const & dir = empty_string()) const;
 
+       /** Identical to mangledFileName, with the following additions:
+       *
+       * @encrypt_path allows using hash (SHA-256) instead of full path.
+       * @use_counter allows disabling the counter in the filename.
+       */
+       std::string
+       mangledFileName(std::string const & dir, bool use_counter, bool encrypt_path) const;
+
        /// \return the absolute file name without its .gz, .z, .Z extension
        std::string unzippedFileName() const;