From 5ec4d801626d22da5f1929fdd668eae50b55b537 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 14 Jul 2008 11:30:51 +0000 Subject: [PATCH] gcc compile fixes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25606 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyX.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/LyX.h b/src/LyX.h index a57ae481df..f46b3a025a 100644 --- a/src/LyX.h +++ b/src/LyX.h @@ -137,18 +137,24 @@ private: friend graphics::Previews & thePreviews(); friend Session & theSession(); friend CmdDef & theTopLevelCmdDef(); - /// Set the language defined by the user. friend void setRcGuiLanguage(); - /// in the case of failure friend void emergencyCleanup(); - /// Execute batch commands if available. friend void execBatchCommands(); - /// Try to exit LyX properly. - /// \p exit_code is 0 by default, if a non zero value is passed, - /// emergencyCleanup() will be called before exiting. friend void lyx_exit(int exit_code = 0); }; + +/// in the case of failure +void emergencyCleanup(); +/// Try to exit LyX properly. +/// \p exit_code is 0 by default, if a non zero value is passed, +/// emergencyCleanup() will be called before exiting. +void lyx_exit(int exit_code = 0); +/// Set the language defined by the user. +void setRcGuiLanguage(); +/// Execute batch commands if available. +void execBatchCommands(); + } // namespace lyx #endif // LYX_H