]> git.lyx.org Git - lyx.git/blobdiff - src/aspell_local.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / aspell_local.h
index c6a68931b1302709d0456e6de877ad90a1cdefce..250cd97b0de8d47ae58429f9fe2fd30982eb2fa5 100644 (file)
 #ifndef LYX_ASPELL_H
 #define LYX_ASPELL_H
 
+#include "SpellBase.h"
+
 #include <map>
 
-#include "SpellBase.h"
 
-class AspellSpeller;
-class AspellStringEnumeration;
-class AspellCanHaveError;
-class AspellConfig;
+struct AspellSpeller;
+struct AspellStringEnumeration;
+struct AspellCanHaveError;
+struct AspellConfig;
+
+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 lyx::docstring const error();
+       virtual docstring const error();
 
 private:
        /// add a speller of the given language
@@ -75,4 +78,7 @@ private:
        AspellCanHaveError * spell_error_object;
 };
 
+
+} // namespace lyx
+
 #endif // LYX_ASPELL_H