X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpellBase.h;h=e4ec616bdc360ef641051d1d6eeac0d9d6857bda;hb=2c832e6578ae146a2b51967cbc78cd640959f196;hp=99bfd4cc5660597ea0423014ac826b3091a32252;hpb=201e5bdf707317be29e9b7476e2b97a34e2d0b48;p=lyx.git diff --git a/src/SpellBase.h b/src/SpellBase.h index 99bfd4cc56..e4ec616bdc 100644 --- a/src/SpellBase.h +++ b/src/SpellBase.h @@ -13,13 +13,16 @@ #ifndef SPELL_BASE_H #define SPELL_BASE_H -#include +#include "support/docstring.h" + + +namespace lyx { class BufferParams; class WordLangTuple; /** - * Base class of all spell checker implementations. + * Base class of all spellchecker implementations. * The class can be instantiated but will have no functionality. */ class SpellBase { @@ -56,10 +59,13 @@ public: virtual void accept(WordLangTuple const &); /// return the next near miss after a SUGGESTED_WORDS result - virtual std::string const nextMiss(); + virtual docstring const nextMiss(); /// give an error message on messy exit - virtual std::string const error(); + virtual docstring const error(); }; + +} // namespace lyx + #endif // SPELL_BASE_H