]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
* src/insets/InsetNote.h:
[lyx.git] / src / BufferList.h
index 29e24df51acb957c9c42218e37bc315bfaae5811..f6804c522630a290b389cd8d68e3b7239ac6aa82 100644 (file)
@@ -59,6 +59,12 @@ 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;
 
@@ -107,9 +113,6 @@ private:
 
        /// storage of all buffers
        BufferStorage bstore;
-
-       /// save emergency file for the given buffer
-       void emergencyWrite(Buffer * buf);
 };
 
 /// Implementation is in LyX.cpp