X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpellBase.h;h=75336376f313a01466f9a0248dd553a8b6054613;hb=b2475f6625efbaacbd574d5b9a2402b4d20c4047;hp=99bfd4cc5660597ea0423014ac826b3091a32252;hpb=201e5bdf707317be29e9b7476e2b97a34e2d0b48;p=lyx.git diff --git a/src/SpellBase.h b/src/SpellBase.h index 99bfd4cc56..75336376f3 100644 --- a/src/SpellBase.h +++ b/src/SpellBase.h @@ -13,13 +13,16 @@ #ifndef SPELL_BASE_H #define SPELL_BASE_H -#include +#include "support/strfwd.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