/// 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);
} // namespace frontend
-extern frontend::Application * theApp;
+frontend::Application * theApp();
frontend::Application * createApplication(int & argc, char * argv[]);