X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.h;h=29e24df51acb957c9c42218e37bc315bfaae5811;hb=6b651f2ad9f698c01993dcc6e340682c279f1c55;hp=179cc358bc2af2d1400b10704d870697ddccfa87;hpb=09b7e6e60aea3644c568212b7dd1f90c85020d2e;p=lyx.git diff --git a/src/BufferList.h b/src/BufferList.h index 179cc358bc..29e24df51a 100644 --- a/src/BufferList.h +++ b/src/BufferList.h @@ -40,10 +40,8 @@ public: iterator end(); const_iterator end() const; - /// write all buffers, asking the user, returns false if cancelled - bool quitWriteAll(); - /// create a new buffer + /// \return 0 if the Buffer creation is not possible for whatever reason. Buffer * newBuffer(std::string const & s, bool ronly = false); /// delete a buffer @@ -61,9 +59,6 @@ public: /// emergency save for all buffers void emergencyWriteAll(); - /// close buffer. Returns false if cancelled by user - bool close(Buffer * buf, bool ask); - /// return true if no buffers loaded bool empty() const; @@ -108,9 +103,6 @@ private: BufferList(BufferList const &); void operator=(BufferList const &); - /// ask to save a buffer on quit, returns false if should cancel - bool quitWriteBuffer(Buffer * buf); - typedef std::vector BufferStorage; /// storage of all buffers