]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
fix "make check" with gcc 4.3
[lyx.git] / src / LyXRC.h
index 4f88b941331ec12f245638f654177e8e43f9b073..3e513e350066d4e96770672209e5973d0a51a1db 100644 (file)
@@ -4,11 +4,11 @@
  * 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 Angus Leeming
  * \author John Levon
- * \author André Pönitz
+ * \author André Pönitz
  * \author Allan Rae
  * \author Dekel Tsur
  *
@@ -38,8 +38,9 @@ public:
        enum LyXRCTags {
                RC_ACCEPT_COMPOUND = 1,
                RC_ALT_LANG,
-               RC_PLAINTEXT_ROFF_COMMAND,
+               RC_AUTOCORRECTION_MATH,
                RC_PLAINTEXT_LINELEN,
+               RC_PLAINTEXT_ROFF_COMMAND,
                RC_AUTOREGIONDELETE,
                RC_AUTORESET_OPTIONS,
                RC_AUTOSAVE,
@@ -149,6 +150,7 @@ public:
                RC_TEMPLATEPATH,
                RC_TEX_ALLOWS_SPACES,
                RC_TEX_EXPECTS_WINDOWS_PATHS,
+               RC_THESAURUSDIRPATH,
                RC_UIFILE,
                RC_USELASTFILEPOS,
                RC_USER_EMAIL,
@@ -258,6 +260,8 @@ public:
        ///
        std::string tempdir_path;
        ///
+       std::string thesaurusdir_path;
+       ///
        bool auto_region_delete;
        /// flag telling whether lastfiles should be checked for existance
        bool auto_reset_options;
@@ -303,33 +307,27 @@ public:
        ///
        unsigned int autosave;
        ///
-       std::string plaintext_roff_command;
-       ///
        unsigned int plaintext_linelen;
-       /// use library instead of process
-       bool use_spell_lib;
-       /// Ispell command
-       std::string isp_command;
        /// Accept compound words in spellchecker?
-       bool isp_accept_compound;
-       /// Pass input encoding switch to ispell?
-       bool isp_use_input_encoding;
+       bool spellchecker_accept_compound;
+       /// Pass input encoding switch to the spellchecker?
+       bool spellchecker_use_input_encoding;
        /// Use alternate language?
-       bool isp_use_alt_lang;
+       bool spellchecker_use_alt_lang;
        /// Use personal dictionary?
-       bool isp_use_pers_dict;
+       bool spellchecker_use_pers_dict;
        /// Use tooltips?
        bool use_tooltip;
        /// Use pixmap cache?
        bool use_pixmap_cache;
        /// Use escape chars?
-       bool isp_use_esc_chars;
-       /// Alternate language for ispell
-       std::string isp_alt_lang;
-       /// Alternate personal dictionary file for ispell
-       std::string isp_pers_dict;
+       bool spellchecker_use_esc_chars;
+       /// Alternate language for spellchecker
+       std::string spellchecker_alt_lang;
+       /// Alternate personal dictionary file for the spellchecker
+       std::string spellchecker_pers_dict;
        /// Escape characters
-       std::string isp_esc_chars;
+       std::string spellchecker_esc_chars;
        ///
        bool use_kbmap;
        ///
@@ -441,6 +439,8 @@ public:
        ///
        int completion_inline_dots;
        ///
+       bool autocorrection_math;
+       ///
        double completion_popup_delay;
        ///
        bool completion_popup_math;
@@ -470,6 +470,9 @@ extern LyXRC lyxrc;
 ///
 extern LyXRC system_lyxrc;
 
+// used by at least frontends/qt4/GuiPref.cpp
+const long maxlastfiles = 20;
+
 } // namespace lyx
 
 #endif