]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
comment
[lyx.git] / src / BufferList.h
index f6804c522630a290b389cd8d68e3b7239ac6aa82..1943c16ba3a5046e7f704e4bc86c8295c0a6ed2b 100644 (file)
@@ -47,6 +47,10 @@ public:
        /// delete a buffer
        void release(Buffer * b);
 
+       /// Release \p child if it really is a child and is not used elsewhere.
+       /// \return true is the file was closed.
+       bool releaseChild(Buffer * parent, Buffer * child);
+
        /// Close all open buffers.
        void closeAll();