LyXView & createView(unsigned int width, unsigned int height,
int posx, int posy, bool maximize);
+ ///
+ LyXView const & currentView() const;
+
+ ///
+ LyXView & currentView();
+
///
- void setBufferView(BufferView * buffer_view);
+ void setCurrentView(LyXView & current_view);
-protected:
- /// This BufferView is the one receiving Clipboard and Selection
+private:
+ /// This LyXView is the one receiving Clipboard and Selection
/// Events
- /// FIXME: \todo use Gui::currentView() in the future
- BufferView * buffer_view_;
+ LyXView * current_view_;
}; // Application