]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.h
hopefully fix tex2lyx linking.
[lyx.git] / src / pspell.h
index 2b676d8d438e1a0a983a2eafebfa131235a3c3b0..0080348797d1762726762a8628615464f37136b5 100644 (file)
@@ -17,6 +17,9 @@
 
 #include <map>
 
+
+namespace lyx {
+
 class PspellManager;
 class PspellStringEmulation;
 class PspellCanHaveError;
@@ -49,11 +52,11 @@ public:
        /// accept the given word temporarily
        virtual void accept(WordLangTuple const &);
 
-       /// return the next near miss after a MISSED result
+       /// return the next near miss after a SUGGESTED_WORDS result
        virtual std::string 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