]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Fix yet another thinko in the math grid paste code
[lyx.git] / src / Buffer.h
index e717e463bd08c0d9a80d296a0c9585327b98ca5b..8eb6e06494d93bbc27740d97f0c22eb009eb5057 100644 (file)
@@ -783,6 +783,13 @@ public:
        ///
        support::FileName getBibfilePath(docstring const & bibid) const;
 
+       /// routines for dealing with possible self-inclusion
+       void pushIncludedBuffer(Buffer const * buf) const;
+       void popIncludedBuffer() const;
+       bool isBufferIncluded(Buffer const * buf) const;
+private:
+       void clearIncludeList() const;
+
 private:
        friend class MarkAsExporting;
        /// mark the buffer as busy exporting something, or not