X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBuffer.h;h=9adc7172c8eeb3dd7a218e2861a52e3df4b805b3;hb=33f9cfb7961501b38c573eede468b011687f46de;hp=f65d31d654d06070f95b34b73a247cf70133e34d;hpb=196d9caeb0b9f74d02750f774de1ca63a483803f;p=lyx.git diff --git a/src/Buffer.h b/src/Buffer.h index f65d31d654..9adc7172c8 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -259,7 +259,7 @@ public: bool autoSave() const; /// save emergency file /// \return a status message towards the user. - docstring emergencyWrite(); + docstring emergencyWrite() const; //FIXME:The following function should be private //private: @@ -567,6 +567,8 @@ public: ParIterator par_iterator_end(); /// ParConstIterator par_iterator_end() const; + /// Is document empty ? + bool empty() const; // Position of the child buffer where it appears first in the master. DocIterator firstChildPosition(Buffer const * child);