]> git.lyx.org Git - lyx.git/blob - src/HunspellChecker.h
- moderncv.layout: add missing separator style
[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         int numDictionaries() const;
35         docstring const error();
36         void advanceChangeNumber();
37         ///@}
38
39 private:
40         struct Private;
41         Private * d;
42 };
43
44
45 } // namespace lyx
46
47 #endif // LYX_Hunspell_H