]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.h
Fix unused variable warning with Qt6
[features.git] / src / BufferParams.h
index 73bb9f6ff55eda89014c2a56f9c661afe352a388..497332b84b358b6359e68dd02411704344f8eed1 100644 (file)
 
 #include "Citation.h"
 #include "ColorCode.h"
+#include "ColorSet.h"
 #include "DocumentClassPtr.h"
 #include "LayoutModuleList.h"
 #include "paper.h"
+#include "WordLangTuple.h"
 
 #include "support/copied_ptr.h"
 #include "support/types.h"
@@ -78,7 +80,7 @@ public:
        /// read a header token, if unrecognised, return it or an unknown class name
        std::string readToken(Lexer & lex,
                std::string const & token, ///< token to read.
-               support::FileName const & filepath);
+               support::FileName const & filename);
 
        ///
        void writeFile(std::ostream &, Buffer const *) const;
@@ -334,6 +336,12 @@ public:
        /// IndicesList:
        IndicesList & indiceslist();
        IndicesList const & indiceslist() const;
+       ///
+       typedef std::vector<WordLangTuple> IgnoreList;
+       ///
+       IgnoreList & spellignore();
+       IgnoreList const & spellignore() const;
+       bool spellignored(WordLangTuple const & wl) const;
        /**
         * The LyX name of the input encoding for LaTeX. This can be one of
         * - \c auto: find out the input encoding from the used languages