]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
* Add possibility to append active branch names to the output file name (#3105).
[lyx.git] / src / Buffer.h
index 012f73bf67e97b9c174ce373d2cd27728a143a92..6cb04bb7c0b72693b0bfe5a299554fb471ccaae6 100644 (file)
@@ -509,8 +509,6 @@ public:
 
        /// return a list of all used branches (also in children)
        void getUsedBranches(std::list<docstring> &, bool const from_master = false) const;
-       /// rename all branches of \p oldname in the buffer to \p newname.
-       void renameBranches(docstring const & oldname, docstring const & newname);
 
        /// sets the buffer_ member for every inset in this buffer.
        // FIXME This really shouldn't be needed, but at the moment it's not
@@ -553,6 +551,11 @@ private:
        ReadStatus readFile(Lexer &, support::FileName const & filename,
                            bool fromString = false);
 
+       /** If we have branches that use the file suffix
+           feature, return the file name with suffix appended.
+       */
+       support::FileName exportFileName() const;
+
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.