]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.h
Alfredo's second patch
[lyx.git] / src / pspell.h
index 6ab6dabb9cd3828e3f07f7174b7140c7a7ff8812..bf3c1f3e99aefcbdd90468589a6b5d003d74b362 100644 (file)
 #define LYX_PSPELL_H
 
 #include <map>
+
 #include "SpellBase.h"
 
 class PspellManager;
 class PspellStringEmulation;
 class PspellCanHaveError;
-class PspellConfig; 
+class PspellConfig;
 
 class BufferParams;
 
@@ -37,15 +37,9 @@ public:
         */
        virtual bool alive() { return true; }
 
-       /// clean up on messy exit
-       virtual void cleanUp();
-
        /// check the given word and return the result
        virtual enum Result check(WordLangTuple const &);
 
-       /// finish this spellchecker instance
-       virtual void close();
-
        /// insert the given word into the personal dictionary
        virtual void insert(WordLangTuple const &);
 
@@ -55,7 +49,7 @@ public:
        /// return the next near miss after a MISSED result
        virtual string const nextMiss();
 
-       /// give an error message on messy exit 
+       /// give an error message on messy exit
        virtual string const error();
 
 private:
@@ -66,12 +60,12 @@ private:
                PspellManager * manager;
                PspellConfig * config;
        };
+
        typedef std::map<string, struct Manager> Managers;
 
        /// the managers
        Managers managers_;
+
        /// FIXME
        PspellStringEmulation * els;
        /// FIXME