]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Delegates.h
FindAdv: Search for 'whole words' with help of modified regex.
[lyx.git] / src / frontends / Delegates.h
index 519a285fbfbd39e4a54b1b897551db85c68ac27a..c50df6b33f3b842de7fcedf7067dc13041bede78 100644 (file)
 
 namespace lyx {
 
-class Buffer;
 class DocIterator;
 class Inset;
 
 namespace frontend {
 
-class GuiBufferViewDelegate 
+class GuiBufferViewDelegate
 {
 public:
        virtual ~GuiBufferViewDelegate() {}
@@ -65,7 +64,7 @@ public:
        /// 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.