]> git.lyx.org Git - lyx.git/blobdiff - src/SpellChecker.h
BufferView.cpp: typo
[lyx.git] / src / SpellChecker.h
index c6e3748c848ffb79058104f2dbd22fda6030a219..bac19d116104f39b12af4fc3c0dc5553ed4d415c 100644 (file)
@@ -19,6 +19,7 @@
 namespace lyx {
 
 class BufferParams;
+class Language;
 class WordLangTuple;
 class docstring_list;
 
@@ -56,6 +57,9 @@ public:
        /// accept the given word temporarily
        virtual void accept(WordLangTuple const &) = 0;
 
+       /// check if dictionary exists
+       virtual bool hasDictionary(Language const *) const = 0;
+
        /// give an error message on messy exit
        virtual docstring const error() = 0;
 };
@@ -64,6 +68,10 @@ public:
 /// Implemented in LyX.cpp
 SpellChecker * theSpellChecker();
 
+/// Set the singleton SpellChecker engine.
+/// Implemented in LyX.cpp
+void setSpellChecker();
+
 } // namespace lyx
 
 #endif // SPELL_BASE_H