#ifndef LYX_ASPELL_H
#define LYX_ASPELL_H
+#include "SpellBase.h"
+
#include <map>
-#include "SpellBase.h"
-class AspellSpeller;
-class AspellStringEnumeration;
-class AspellCanHaveError;
-class AspellConfig;
+struct AspellSpeller;
+struct AspellStringEnumeration;
+struct AspellCanHaveError;
+struct AspellConfig;
+
+namespace lyx {
class BufferParams;
/// 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 speller of the given language
AspellCanHaveError * spell_error_object;
};
-#endif // ASPELL_H
+
+} // namespace lyx
+
+#endif // LYX_ASPELL_H