]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
* GuiDocument.cpp: before accessing the buffer() in paramsToDialog(), check
[lyx.git] / src / BufferList.h
index 1928e6a26ee1f084a0594d56b4b82232194a091f..edfabdfbbcd23a5c596201bddf3e6f2254c63db3 100644 (file)
@@ -69,12 +69,6 @@ public:
        /// emergency save for all buffers
        void emergencyWriteAll();
 
-       /// save emergency file for the given buffer
-       /**
-         * \return a status message towards the user.
-         */
-       docstring emergencyWrite(Buffer * buf);
-
        /// return true if no buffers loaded
        bool empty() const;
 
@@ -114,6 +108,9 @@ public:
        /// reset current author for all buffers
        void setCurrentAuthor(docstring const & name, docstring const & email);
 
+       /// Call changed() on all buffers, internal or not
+       void changed(bool update_metrics) const;
+
 private:
        /// noncopiable
        BufferList(BufferList const &);