X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView_pimpl.h;h=d98925866c443819e2cf567a3f3ba0053491e733;hb=5c00d0f48978964a576070d5950556787aa365bb;hp=33e21fd671cef965939649d1896bc962d7632557;hpb=2288d1724715307a71e888faa4bec1f5de1242aa;p=lyx.git diff --git a/src/BufferView_pimpl.h b/src/BufferView_pimpl.h index 33e21fd671..d98925866c 100644 --- a/src/BufferView_pimpl.h +++ b/src/BufferView_pimpl.h @@ -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); ///