]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
* src/frontends/qt4/GuiSelection.C
[lyx.git] / src / frontends / Application.h
index 76031a4a0c6e4cc531661029a69b202d047cdcff..e78221326400ac626db6a2f45b63ea81d5dea2ca 100644 (file)
@@ -172,13 +172,14 @@ public:
 
        /// Create the main window with given geometry settings.
        LyXView & createView(unsigned int width, unsigned int height,
-               int posx, int posy, bool maximize, unsigned int iconSizeXY);
+               int posx, int posy, bool maximize, unsigned int iconSizeXY,
+               const std::string & geometryArg);
        
        /// 
-       LyXView const & currentView() const;
+       LyXView const * currentView() const;
 
        /// 
-       LyXView & currentView();
+       LyXView * currentView();
 
        ///
        void setCurrentView(LyXView & current_view);
@@ -192,7 +193,7 @@ private:
 
 } // namespace frontend
 
-extern frontend::Application * theApp;
+frontend::Application * theApp();
 frontend::Application * createApplication(int & argc, char * argv[]);