]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Delegates.h
Revert "Amend 3093789e for cmake build"
[lyx.git] / src / frontends / Delegates.h
index c1ef6556a40c455bdb0e829ddf359d145b260189..c50df6b33f3b842de7fcedf7067dc13041bede78 100644 (file)
 
 namespace lyx {
 
-class Buffer;
+class DocIterator;
 class Inset;
 
 namespace frontend {
 
-class GuiBufferViewDelegate 
+class GuiBufferViewDelegate
 {
 public:
        virtual ~GuiBufferViewDelegate() {}
@@ -61,8 +61,10 @@ public:
        virtual ~GuiBufferDelegate() {}
        /// This function is called when the buffer structure is changed.
        virtual void structureChanged() = 0;
+       /// This function is called when the buffer structure has been updated.
+       virtual void updateTocItem(std::string const &, DocIterator const &) = 0;
        /// This function is called when some parsing error shows up.
-       virtual void errors(std::string const &) = 0;
+       virtual void errors(std::string const &, bool from_master = false) = 0;
        /// This function is called when some message shows up.
        virtual void message(docstring const &) = 0;
        /// This function is called when the buffer busy status change.