X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyX.h;h=6c6db63c0e0b464d6043b7ce1f73011c69c0fa56;hb=fa2f219d928f7b07ee98cb499f78f7581b62dabc;hp=f46b3a025a54e421815336cb04e51032a2e013ff;hpb=5ec4d801626d22da5f1929fdd668eae50b55b537;p=lyx.git diff --git a/src/LyX.h b/src/LyX.h index f46b3a025a..6c6db63c0e 100644 --- a/src/LyX.h +++ b/src/LyX.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes * \author John Levon * @@ -32,6 +32,7 @@ class Movers; class Server; class ServerSocket; class Session; +class SpellChecker; extern bool use_gui; @@ -137,10 +138,12 @@ private: friend graphics::Previews & thePreviews(); friend Session & theSession(); friend CmdDef & theTopLevelCmdDef(); + friend SpellChecker * theSpellChecker(); + friend void setSpellChecker(); friend void setRcGuiLanguage(); friend void emergencyCleanup(); friend void execBatchCommands(); - friend void lyx_exit(int exit_code = 0); + friend void lyx_exit(int exit_code); }; @@ -149,7 +152,7 @@ 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); +void lyx_exit(int exit_code); /// Set the language defined by the user. void setRcGuiLanguage(); /// Execute batch commands if available. @@ -158,3 +161,4 @@ void execBatchCommands(); } // namespace lyx #endif // LYX_H +