]> 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 8c79d4c30afcc76be64a266383a444785761c2a7..edfabdfbbcd23a5c596201bddf3e6f2254c63db3 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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 &);