]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
* completion infrastructure
[lyx.git] / src / BufferList.h
index 179cc358bc2af2d1400b10704d870697ddccfa87..29e24df51acb957c9c42218e37bc315bfaae5811 100644 (file)
@@ -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<Buffer *> BufferStorage;
 
        /// storage of all buffers