X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Faspell_local.h;h=250cd97b0de8d47ae58429f9fe2fd30982eb2fa5;hb=e5a46922e916a06ad1b958d5895cc3cfb4f13d2c;hp=c6a68931b1302709d0456e6de877ad90a1cdefce;hpb=a6444784dca48da8b1f7723be12069b2e1dbb4c5;p=lyx.git diff --git a/src/aspell_local.h b/src/aspell_local.h index c6a68931b1..250cd97b0d 100644 --- a/src/aspell_local.h +++ b/src/aspell_local.h @@ -13,14 +13,17 @@ #ifndef LYX_ASPELL_H #define LYX_ASPELL_H +#include "SpellBase.h" + #include -#include "SpellBase.h" -class AspellSpeller; -class AspellStringEnumeration; -class AspellCanHaveError; -class AspellConfig; +struct AspellSpeller; +struct AspellStringEnumeration; +struct AspellCanHaveError; +struct AspellConfig; + +namespace lyx { class BufferParams; @@ -50,10 +53,10 @@ 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 lyx::docstring const error(); + virtual docstring const error(); private: /// add a speller of the given language @@ -75,4 +78,7 @@ private: AspellCanHaveError * spell_error_object; }; + +} // namespace lyx + #endif // LYX_ASPELL_H