X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Faspell_local.h;h=1b45c704513e3fcf23a9cd9104d9bc93bf62858b;hb=095625dc3cd0542d13d8cc62362aa71c896eb3e0;hp=8d72099705add5176d1c1fdc4fb67e70cae02e33;hpb=46756fd9e4087fd30d9de504684d83803cd4b4c5;p=lyx.git diff --git a/src/aspell_local.h b/src/aspell_local.h index 8d72099705..1b45c70451 100644 --- a/src/aspell_local.h +++ b/src/aspell_local.h @@ -13,15 +13,20 @@ #ifndef LYX_ASPELL_H #define LYX_ASPELL_H +#include "SpellBase.h" + +#include "support/docstring.h" + #include -#include "SpellBase.h" class AspellSpeller; class AspellStringEnumeration; class AspellCanHaveError; class AspellConfig; +namespace lyx { + class BufferParams; @@ -49,11 +54,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 speller of the given language @@ -75,4 +80,7 @@ private: AspellCanHaveError * spell_error_object; }; -#endif // ASPELL_H + +} // namespace lyx + +#endif // LYX_ASPELL_H