]> git.lyx.org Git - lyx.git/blobdiff - src/ispell.h
clean up a bit
[lyx.git] / src / ispell.h
index 477cef9ae0ce8189b652a3079c5b579c0d834a74..cdb193fc6cc13494194b9b90019183ac58961677 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file sp_ispell.h
+ * \file ispell.h
  * Copyright 2002 the LyX Team
  * Read the file COPYING
  *
@@ -30,24 +30,27 @@ public:
        virtual void cleanUp();
 
        /// check the given word and return the result
-       virtual enum Result check(string const & word);
+       virtual enum Result check(WordLangTuple const & word);
 
        /// finish this spellchecker instance
        virtual void close();
 
        /// insert the given word into the personal dictionary
-       virtual void insert(string const & word);
+       virtual void insert(WordLangTuple const & word);
 
        /// accept the given word temporarily
-       virtual void accept(string const & word);
+       virtual void accept(WordLangTuple const & word);
 
        /// 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:
+       ///
+       void setError();
+
        /// instream to communicate with ispell
        FILE * in;
        /// outstream to communicate with ispell