]> git.lyx.org Git - features.git/blobdiff - src/lyx_main.h
My six month cleanup crusade is now paying off: LyX has now multiple windows support!
[features.git] / src / lyx_main.h
index 283ad13c0020be0f64b55b6b34ddfe2c3afd14fc..a95ec5334910b7d212329794aa3d1d082d691052 100644 (file)
@@ -93,7 +93,7 @@ public:
        kb_keymap & topLevelKeymap();
        kb_keymap const & topLevelKeymap() const;
 
-       void addLyXView(LyXView * lyxview);
+       LyXView * newLyXView();
 
        /** redraw \c inset in all the BufferViews in which it is currently
         *  visible. If successful return a pointer to the owning Buffer.
@@ -123,6 +123,9 @@ private:
        /// Create a View and restore GUI Session.
        void restoreGuiSession(std::vector<std::string> const & files);
 
+       ///
+       void addLyXView(LyXView * lyxview);
+
        /// Initialize RC font for the GUI.
        void initGuiFont();