lyx_mirror/src/HunspellChecker.h
Stephan Witt a2287675d2 #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36661 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 18:52:31 +00:00

47 lines
905 B
C++

// -*- C++ -*-
/**
* \file HunspellChecker.h
* 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 {
class HunspellChecker : public SpellChecker
{
public:
HunspellChecker();
~HunspellChecker();
/// \name SpellChecker inherited methods.
///@{
enum Result check(WordLangTuple const &);
void suggest(WordLangTuple const &, docstring_list &);
void insert(WordLangTuple const &);
void remove(WordLangTuple const &);
void accept(WordLangTuple const &);
bool hasDictionary(Language const * lang) const;
docstring const error();
void advanceChangeNumber();
///@}
private:
struct Private;
Private * d;
};
} // namespace lyx
#endif // LYX_Hunspell_H