]> git.lyx.org Git - lyx.git/blob - src/HunspellChecker.h
listerrors.lyx : Update a link.
[lyx.git] / src / HunspellChecker.h
1 // -*- C++ -*-
2 /**
3  * \file HunspellChecker.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Abdelrazak Younes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_HUNSPELL_H
13 #define LYX_HUNSPELL_H
14
15 #include "SpellChecker.h"
16
17 namespace lyx {
18
19
20 class HunspellChecker : public SpellChecker
21 {
22 public:
23         HunspellChecker();
24         ~HunspellChecker();
25
26         /// \name SpellChecker inherited methods.
27         ///@{
28         enum Result check(WordLangTuple const &);
29         void suggest(WordLangTuple const &, docstring_list &);
30         void insert(WordLangTuple const &);
31         void remove(WordLangTuple const &);
32         void accept(WordLangTuple const &);
33         bool hasDictionary(Language const * lang) const;
34         docstring const error();
35         void advanceChangeNumber();
36         ///@}
37
38 private:
39         struct Private;
40         Private * d;
41 };
42
43
44 } // namespace lyx
45
46 #endif // LYX_Hunspell_H