]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
Fix the missing "Figure #:" label from the caption of a figure float.
[lyx.git] / src / BufferView_pimpl.h
index 33e21fd671cef965939649d1896bc962d7632557..d98925866c443819e2cf567a3f3ba0053491e733 100644 (file)
@@ -40,6 +40,7 @@ class LyXView;
 class WorkArea;
 class LyXScreen;
 class FuncRequest;
+class FuncStatus;
 
 
 ///
@@ -52,7 +53,7 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        /// return the screen for this bview
        LyXScreen & screen() const;
        ///
-       void buffer(Buffer *);
+       void setBuffer(Buffer * buf);
        /// Return true if the cursor was fitted.
        bool fitCursor();
        ///
@@ -61,12 +62,8 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        void resizeCurrentBuffer();
        ///
        void update();
-       /**
-        * Repaint pixmap. Used for when we've made a visible
-        * change but don't need the full update() logic
-        */
        ///
-       bool newFile(std::string const &, std::string const &, bool);
+       void newFile(std::string const &, std::string const &, bool);
        ///
        bool loadLyXFile(std::string const &, bool);
        ///
@@ -103,6 +100,8 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        void center();
        /// a function should be executed from the workarea
        bool workAreaDispatch(FuncRequest const & ev);
+       /// return true for events that will handle
+       FuncStatus getStatus(FuncRequest const & cmd);
        /// a function should be executed
        bool dispatch(FuncRequest const & ev);
        ///