]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.h
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / pspell.h
index d645aacad3b98c33b7bbc49fae748b92758f1da9..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;
 };
 
+
+} // namespace lyx
+
 #endif // LYX_PSPELL_H