mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
49 lines
991 B
C++
49 lines
991 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file AspellChecker.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Kevin Atkinson
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef LYX_ASPELL_H
|
|
#define LYX_ASPELL_H
|
|
|
|
#include "SpellChecker.h"
|
|
|
|
namespace lyx {
|
|
|
|
class AspellChecker : public SpellChecker
|
|
{
|
|
public:
|
|
AspellChecker();
|
|
~AspellChecker();
|
|
|
|
/// \name SpellChecker inherited methods
|
|
//@{
|
|
enum Result check(WordLangTuple const &);
|
|
void suggest(WordLangTuple const &, docstring_list &);
|
|
void stem(WordLangTuple const &, docstring_list &) {}
|
|
void insert(WordLangTuple const &);
|
|
void remove(WordLangTuple const &);
|
|
void accept(WordLangTuple const &);
|
|
bool hasDictionary(Language const * lang) const;
|
|
int numDictionaries() const;
|
|
docstring const error();
|
|
void advanceChangeNumber();
|
|
//@}
|
|
|
|
private:
|
|
struct Private;
|
|
Private * d;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif // LYX_ASPELL_H
|