X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fpspell.h;h=44071dc3e17d3647949aab433ed0cb21deef3c2d;hb=ba62665f966508db5a4de6864f4aa7374c5a5356;hp=2b676d8d438e1a0a983a2eafebfa131235a3c3b0;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/pspell.h b/src/pspell.h index 2b676d8d43..44071dc3e1 100644 --- a/src/pspell.h +++ b/src/pspell.h @@ -17,11 +17,14 @@ #include + class PspellManager; class PspellStringEmulation; class PspellCanHaveError; class PspellConfig; +namespace lyx { + class BufferParams; @@ -49,11 +52,11 @@ public: /// accept the given word temporarily virtual void accept(WordLangTuple const &); - /// return the next near miss after a MISSED result - virtual std::string const nextMiss(); + /// return the next near miss after a SUGGESTED_WORDS result + virtual docstring const nextMiss(); /// give an error message on messy exit - virtual std::string const error(); + virtual docstring const error(); private: /// add a manager of the given language @@ -75,4 +78,7 @@ private: PspellCanHaveError * spell_error_object; }; -#endif // PSPELL_H + +} // namespace lyx + +#endif // LYX_PSPELL_H