lyx_mirror/src/AspellChecker.h
Jürgen Spitzmüller 5c59e8c7cb * Spellchecker dialog:
- mark languages that can be spell checked.
* Thesaurus dialog:
	- mark languages that have a thesaurus dictionary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 08:10:31 +00:00

45 lines
840 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 insert(WordLangTuple const &);
void accept(WordLangTuple const &);
bool hasDictionary(Language const * lang) const;
docstring const error();
//@}
private:
struct Private;
Private * d;
};
} // namespace lyx
#endif // LYX_ASPELL_H