X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpellChecker.h;h=b46b97400a715be39e632246a8949af9e1eba6c1;hb=834bfe5e2143179ac3ccb6dd9a0618d349bf6958;hp=a1ed9ebc7a515a439b4f0c20a82140c9c130fc5a;hpb=1141ccb99765cec9a0c8e04ce7c22d7c1e634216;p=lyx.git diff --git a/src/SpellChecker.h b/src/SpellChecker.h index a1ed9ebc7a..b46b97400a 100644 --- a/src/SpellChecker.h +++ b/src/SpellChecker.h @@ -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