X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.h;h=edfabdfbbcd23a5c596201bddf3e6f2254c63db3;hb=0b17cb113523fb23c43064709e9b6606fe80914c;hp=8c79d4c30afcc76be64a266383a444785761c2a7;hpb=22204cda0ba93d0ae4b79418315a159962517309;p=lyx.git diff --git a/src/BufferList.h b/src/BufferList.h index 8c79d4c30a..edfabdfbbc 100644 --- a/src/BufferList.h +++ b/src/BufferList.h @@ -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 &);