2009-07-12 22:46:01 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2009-08-01 17:24:13 +00:00
|
|
|
* \file HunspellChecker.h
|
2009-07-12 22:46:01 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Abdelrazak Younes
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LYX_HUNSPELL_H
|
|
|
|
#define LYX_HUNSPELL_H
|
|
|
|
|
|
|
|
#include "SpellChecker.h"
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
|
2009-08-01 17:24:13 +00:00
|
|
|
class HunspellChecker : public SpellChecker
|
2009-07-12 22:46:01 +00:00
|
|
|
{
|
|
|
|
public:
|
2009-08-01 17:24:13 +00:00
|
|
|
HunspellChecker();
|
|
|
|
~HunspellChecker();
|
2009-07-12 22:46:01 +00:00
|
|
|
|
2009-08-02 09:17:32 +00:00
|
|
|
/// SpellChecker inherited methods.
|
|
|
|
///@{
|
|
|
|
enum Result check(WordLangTuple const &);
|
|
|
|
void suggest(WordLangTuple const &, docstring_list &);
|
2009-07-12 22:46:01 +00:00
|
|
|
void insert(WordLangTuple const &);
|
|
|
|
void accept(WordLangTuple const &);
|
|
|
|
docstring const error();
|
2009-08-02 09:17:32 +00:00
|
|
|
///@}
|
2009-07-12 22:46:01 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
struct Private;
|
|
|
|
Private * d;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif // LYX_Hunspell_H
|