]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
Alfredo's second patch
[lyx.git] / src / BufferView_pimpl.h
index ed39aa1cc3a9463db6e6f6c8d30168ce0b716aff..761d1911dcc66306ebe973eaf8eb5bc2efabf190 100644 (file)
@@ -19,9 +19,6 @@
 #include <boost/scoped_ptr.hpp>
 #include <boost/signals/trackable.hpp>
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 class Change;
 class LyXView;
@@ -50,6 +47,8 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        void update();
        //
        void update(LyXText *, BufferView::UpdateCodes);
+       /// update the toplevel lyx text
+       void update(BufferView::UpdateCodes);
        /**
         * Repaint pixmap. Used for when we've made a visible
         * change but don't need the full update() logic
@@ -62,7 +61,7 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        ///
        void scrollDocView(int value);
        /**
-        * Wheel mouse scroll, move by multiples of text->defaultHeight().
+        * Wheel mouse scroll, move by multiples of text->defaultRowHeight().
         */
        void scroll(int lines);
        ///
@@ -102,8 +101,10 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        ///
        bool insertInset(Inset * inset, string const & lout = string());
        ///
-       void updateInset(Inset * inset, bool mark_dirty);
-       ///
+       void updateInset(Inset * inset);
+       /// a function should be executed from the workarea
+       bool workAreaDispatch(FuncRequest const & ev);
+       /// a function should be executed
        bool dispatch(FuncRequest const & ev);
 private:
        /// track changes for the document