]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
* GuiDocument.cpp:
[lyx.git] / src / Buffer.h
index 7493807bec029a652875f25ce842d1e40aaae716..71e8ac32c13ce92f42abfc2f3b86b2b074f610b4 100644 (file)
@@ -20,6 +20,7 @@
 #include "support/types.h"
 #include "support/SignalSlot.h"
 
+#include <list>
 #include <string>
 #include <vector>
 
@@ -506,6 +507,9 @@ public:
        void setInsetLabel(docstring const & label, InsetLabel const * il);
        InsetLabel const * insetLabel(docstring const & label) const;
 
+       /// return a list of all used branches (also in children)
+       void getUsedBranches(std::list<docstring> &, bool const from_master = false) const;
+
        /// sets the buffer_ member for every inset in this buffer.
        // FIXME This really shouldn't be needed, but at the moment it's not
        // clear how to do it just for the individual pieces we need.