]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.h
Support for new GNU aspell library. Final pspell fix ups.
[lyx.git] / src / lyxrc.h
index 6c0648555b5d7410a9c510b2654988adfec606f2..406a26d493e9928f97ecbe5f458093f13bcb68ff 100644 (file)
 #ifndef LYXRC_H
 #define LYXRC_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "bufferparams.h" // Just to get the enum BufferParams::PAPER_SIZE (sic)
 #include "graphics/GraphicsTypes.h"
 
@@ -122,9 +118,7 @@ enum LyXRCTags {
        RC_PREVIEW,
        RC_PREVIEW_HASHED_LABELS,
        RC_PREVIEW_SCALE_FACTOR,
-#ifdef USE_PSPELL
-       RC_USE_PSPELL,
-#endif
+       RC_USE_SPELL_LIB,
        RC_USER_NAME,
        RC_USER_EMAIL,
        RC_LAST
@@ -284,10 +278,9 @@ enum LyXRCTags {
        string ascii_roff_command;
        ///
        unsigned int ascii_linelen;
+       /// use library instead of process
+       bool use_spell_lib;
        /// Ispell command
-#ifdef USE_PSPELL
-       bool use_pspell;
-#endif
        string isp_command;
        /// Accept compound words in spellchecker?
        bool isp_accept_compound;