]> git.lyx.org Git - lyx.git/blobdiff - src/SpellBase.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / SpellBase.h
index ca84c460d4924f27ca3502ff5fc91f622bd45f7f..75336376f313a01466f9a0248dd553a8b6054613 100644 (file)
 #ifndef SPELL_BASE_H
 #define SPELL_BASE_H
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
 
-#include <string>
+
+namespace lyx {
 
 class BufferParams;
 class WordLangTuple;
@@ -58,10 +59,13 @@ 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();
 };
 
+
+} // namespace lyx
+
 #endif // SPELL_BASE_H