4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
15 #include "SpellBase.h"
19 /// i/a spell process-based spellchecker
20 class ISpell : public SpellBase {
22 ISpell(BufferParams const & params, string const & lang);
26 /// return true if the spellchecker instance still exists
29 /// clean up on messy exit
30 virtual void cleanUp();
32 /// check the given word and return the result
33 virtual enum Result check(WordLangTuple const & word);
35 /// finish this spellchecker instance
38 /// insert the given word into the personal dictionary
39 virtual void insert(WordLangTuple const & word);
41 /// accept the given word temporarily
42 virtual void accept(WordLangTuple const & word);
44 /// return the next near miss after a MISSED result
45 virtual string const nextMiss();
47 /// give an error message on messy exit
48 virtual string const error();
51 /// instream to communicate with ispell
53 /// outstream to communicate with ispell
57 /// the fd of the outgoing pipe
60 // vileness below ... please FIXME