]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Whitespace.
[lyx.git] / src / Buffer.h
index f4f33d46cf3a7c88f38c405bc351a646fb8fa72f..02635d97e7524f5ad3b35248c0c0ab737bc248c0 100644 (file)
@@ -282,6 +282,9 @@ public:
 
        /// \return true if \p child is a child of this \c Buffer.
        bool isChild(Buffer * child) const;
+       
+       /// return a vector with all children and grandchildren
+       std::vector<Buffer *> getChildren() const;
 
        /// Is buffer read-only?
        bool isReadonly() const;
@@ -445,7 +448,7 @@ public:
        ///
        void setGuiDelegate(frontend::GuiBufferDelegate * gui);
        ///
-       bool Buffer::hasGuiDelegate() const;
+       bool hasGuiDelegate() const;
 
        ///
        void autoSave() const;