2 * \file frontends/lyx_gui.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
17 #include "Application.h"
19 #include "funcrequest.h"
23 lyx::frontend::Application * theApp;
34 LyXView * create_view(unsigned int width, unsigned int height, int posx, int posy,
37 return &theApp->createView(width, height, posx, posy, maximize);
41 int start(LyXView * view, string const & batch)
43 return theApp->start(batch);
53 FuncStatus getStatus(FuncRequest const & ev)
57 case LFUN_TOOLTIPS_TOGGLE:
68 string const roman_font_name()
73 return theApp->romanFontName();
77 string const sans_font_name()
82 return theApp->sansFontName();
86 string const typewriter_font_name()
91 return theApp->typewriterFontName();
94 }; // namespace lyx_gui