// -*- C++ -*-
/**
* \file ispell.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \author unknown
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef SP_ISPELL_H
/// 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();
virtual void accept(WordLangTuple const & word);
/// return the next near miss after a MISSED result
- virtual string const nextMiss();
+ 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
char buf[BUFSIZ];
/// spell error
- string error_;
+ std::string error_;
boost::scoped_ptr<lyx::support::ForkedProcess> child_;