]> git.lyx.org Git - lyx.git/blobdiff - src/ispell.h
Use Gtk::ComboBoxText::clear() instead of clear_items(), which only exists in newer...
[lyx.git] / src / ispell.h
index d8a3c9ca138951a08b45ef8fe2b1d53d153ae287..e33d848cb7ee915587db37705882c6fc294d5228 100644 (file)
@@ -29,7 +29,7 @@ class ForkedProcess;
 /// i/a spell process-based spellchecker
 class ISpell : public SpellBase {
 public:
-       ISpell(BufferParams const & params, string const & lang);
+       ISpell(BufferParams const & params, std::string const & lang);
 
        ~ISpell();
 
@@ -45,11 +45,11 @@ public:
        /// accept the given word temporarily
        virtual void accept(WordLangTuple const & word);
 
-       /// return the next near miss after a MISSED result
-       virtual string const nextMiss();
+       /// return the next near miss after a SUGGESTED_WORDS result
+       virtual std::string const nextMiss();
 
        /// give an error message on messy exit
-       virtual string const error();
+       virtual std::string const error();
 
 private:
        /// read some data. Returns true on an error. Sets err_read
@@ -72,7 +72,7 @@ private:
        char buf[BUFSIZ];
 
        /// spell error
-       string error_;
+       std::string error_;
 
        boost::scoped_ptr<lyx::support::ForkedProcess> child_;