mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
97a33c4f51
Hunspell is not used yet, don't try it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30527 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
734 B
C++
41 lines
734 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file HunspellSpellChecker.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 HunspellSpellChecker : public SpellChecker
|
|
{
|
|
public:
|
|
HunspellSpellChecker();
|
|
~HunspellSpellChecker();
|
|
|
|
SpellChecker::Result check(WordLangTuple const &);
|
|
void insert(WordLangTuple const &);
|
|
void accept(WordLangTuple const &);
|
|
docstring const nextMiss();
|
|
docstring const error();
|
|
|
|
private:
|
|
struct Private;
|
|
Private * d;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif // LYX_Hunspell_H
|