]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
* src/frontends/qt4/GuiSelection.C
[lyx.git] / src / frontends / Application.h
index 3bd0c226ae1739209b4d407f9b24b2d1f4ee4809..e78221326400ac626db6a2f45b63ea81d5dea2ca 100644 (file)
@@ -176,10 +176,10 @@ public:
                const std::string & geometryArg);
        
        /// 
-       LyXView const & currentView() const;
+       LyXView const * currentView() const;
 
        /// 
-       LyXView & currentView();
+       LyXView * currentView();
 
        ///
        void setCurrentView(LyXView & current_view);
@@ -193,7 +193,7 @@ private:
 
 } // namespace frontend
 
-extern frontend::Application * theApp;
+frontend::Application * theApp();
 frontend::Application * createApplication(int & argc, char * argv[]);