const std::string & geometryArg);
///
- LyXView const & currentView() const;
+ LyXView const * currentView() const;
///
- LyXView & currentView();
+ LyXView * currentView();
///
void setCurrentView(LyXView & current_view);
} // namespace frontend
-extern frontend::Application * theApp;
+frontend::Application * theApp();
frontend::Application * createApplication(int & argc, char * argv[]);