]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
Document pasteParagraphList as hinted by Jean-Marc
[lyx.git] / src / frontends / Application.h
index fa4d49ebf78c0b5966d8643a07c42628bdcce6f6..7fcfa03e6bbcefba7bf05f4ee5b2a7e451996878 100644 (file)
@@ -114,14 +114,19 @@ public:
        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