]> git.lyx.org Git - lyx.git/commitdiff
transfer lyx_gui::exit() to frontends/lyx_gui.C
authorAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 11:42:33 +0000 (11:42 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 11:42:33 +0000 (11:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15209 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/gtk/lyx_gui.C
src/frontends/lyx_gui.C
src/frontends/qt3/lyx_gui.C
src/frontends/qt4/lyx_gui.C

index 3de8d1872a4ca0e7567c51da4d9d6adfe2fcdcae..6cf21913e6069a4cdfa03cd5014d57dcf7225fec 100644 (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;
index 9dd95c0e8d66e7abe48c915d3aa600f208a23783..41296e61f4e21b977744e1d283a511901c0aeb16 100644 (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;
index 0bf68e8be5ff883b1e2011b7ae88cd272197fde1..97895780fb8ab566a8c69883738f052406ac6c10 100644 (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);
index 838bea46f13186fc1208a5b1676440cb2c4ad57d..f50c58d4269ebb785c33cac4892a658ac5927f1c 100644 (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);