X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fpspell.h;h=0080348797d1762726762a8628615464f37136b5;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=2b676d8d438e1a0a983a2eafebfa131235a3c3b0;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/pspell.h b/src/pspell.h index 2b676d8d43..0080348797 100644 --- a/src/pspell.h +++ b/src/pspell.h @@ -17,6 +17,9 @@ #include + +namespace lyx { + class PspellManager; class PspellStringEmulation; class PspellCanHaveError; @@ -49,11 +52,11 @@ public: /// accept the given word temporarily virtual void accept(WordLangTuple const &); - /// return the next near miss after a MISSED result + /// return the next near miss after a SUGGESTED_WORDS result virtual std::string 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