]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
In non-MultiPar insets, we do not want to output paragraphs at all.
[lyx.git] / src / LyX.h
index f46b3a025a54e421815336cb04e51032a2e013ff..6c6db63c0e0b464d6043b7ce1f73011c69c0fa56 100644 (file)
--- 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
+