]> git.lyx.org Git - lyx.git/blobdiff - src/SpellBase.h
remove unneeded includes
[lyx.git] / src / SpellBase.h
index 99bfd4cc5660597ea0423014ac826b3091a32252..f9f2a4a7328c62a2d84c64135915dd3acf6eb898 100644 (file)
 #ifndef SPELL_BASE_H
 #define SPELL_BASE_H
 
+#include "support/docstring.h"
+
 #include <string>
 
+
+namespace lyx {
+
 class BufferParams;
 class WordLangTuple;
 
 /**
- * Base class of all spell checker implementations.
+ * Base class of all spellchecker implementations.
  * The class can be instantiated but will have no functionality.
  */
 class SpellBase {
@@ -59,7 +64,10 @@ public:
        virtual std::string const nextMiss();
 
        /// give an error message on messy exit
-       virtual std::string const error();
+       virtual docstring const error();
 };
 
+
+} // namespace lyx
+
 #endif // SPELL_BASE_H