]> git.lyx.org Git - lyx.git/blobdiff - src/SpellChecker.h
fix a couple warnings after the number localization patch
[lyx.git] / src / SpellChecker.h
index a1ed9ebc7a515a439b4f0c20a82140c9c130fc5a..b46b97400a715be39e632246a8949af9e1eba6c1 100644 (file)
@@ -22,8 +22,7 @@ class BufferParams;
 class WordLangTuple;
 
 /**
- * Base class of all spellchecker implementations.
- * The class can be instantiated but will have no functionality.
+ * Pure virtual base class of all spellchecker implementations.
  */
 class SpellChecker {
 public:
@@ -63,6 +62,9 @@ public:
        virtual docstring const error() = 0;
 };
 
+/// Access to the singleton SpellChecker.
+/// Implemented in LyX.cpp
+SpellChecker * theSpellChecker();
 
 } // namespace lyx