transfer lyx_gui::exit() to frontends/lyx_gui.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15209 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-03 11:42:33 +00:00
parent 63ad5449fb
commit 046c9bb9e3
4 changed files with 6 additions and 26 deletions

View File

@ -103,12 +103,6 @@ int lyx_gui::exec(int & argc, char * argv[])
}
void lyx_gui::exit(int status)
{
guiApp->exit(status);
}
bool lyx_gui::getRGBColor(LColor_color col, lyx::RGBColor & rgbcol)
{
Gdk::Color gdkColor;

View File

@ -44,6 +44,12 @@ int start(LyXView * view, string const & batch)
}
void exit(int status)
{
theApp->exit(status);
}
FuncStatus getStatus(FuncRequest const & ev)
{
FuncStatus flag;

View File

@ -69,10 +69,6 @@ namespace os = lyx::support::os;
using boost::shared_ptr;
#ifndef CXX_GLOBAL_CSTD
using std::exit;
#endif
using std::map;
using std::vector;
using std::string;
@ -112,12 +108,6 @@ void sync_events()
}
void exit(int status)
{
guiApp->exit(status);
}
bool getRGBColor(LColor_color col, lyx::RGBColor & rgbcol)
{
QColor const & qcol = lcolorcache.get(col);

View File

@ -51,10 +51,6 @@ using lyx::frontend::GuiApplication;
using boost::shared_ptr;
#ifndef CXX_GLOBAL_CSTD
using std::exit;
#endif
using std::map;
using std::vector;
using std::string;
@ -115,12 +111,6 @@ void sync_events()
}
void exit(int status)
{
guiApp->exit(status);
}
bool getRGBColor(LColor_color col, lyx::RGBColor & rgbcol)
{
QColor const & qcol = guiApp->colorCache().get(col);