]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.h
Fix encoding of converters path and arguments
[lyx.git] / src / pspell.h
index 3323e8a769c674ed576157289b48baf6eee2408d..44071dc3e17d3647949aab433ed0cb21deef3c2d 100644 (file)
 
 #include <map>
 
+
 class PspellManager;
 class PspellStringEmulation;
 class PspellCanHaveError;
 class PspellConfig;
 
+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 std::string const error();
+       virtual docstring const error();
 
 private:
        /// add a manager of the given language
@@ -75,4 +78,7 @@ private:
        PspellCanHaveError * spell_error_object;
 };
 
-#endif // PSPELL_H
+
+} // namespace lyx
+
+#endif // LYX_PSPELL_H