]> git.lyx.org Git - lyx.git/blob - src/EnchantChecker.h
Remove extra whitespace.
[lyx.git] / src / EnchantChecker.h
1 // -*- C++ -*-
2 /**
3  * \file EnchantChecker.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Caolán McNamara
8  * \author Jürgen Spitzmüller
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef LYX_ENCHANT_H
14 #define LYX_ENCHANT_H
15
16 #include "SpellChecker.h"
17
18 namespace enchant {
19     class Dict;
20 }
21
22 namespace lyx {
23
24 class BufferParams;
25
26
27 class EnchantChecker : public SpellChecker {
28 public:
29         EnchantChecker();
30         ~EnchantChecker();
31
32         /// SpellChecker inherited methods.
33         ///@{
34         enum Result check(WordLangTuple const &);
35         void suggest(WordLangTuple const &, docstring_list &);
36         void insert(WordLangTuple const &);
37         void remove(WordLangTuple const &);
38         void accept(WordLangTuple const &);
39         bool hasDictionary(Language const * lang) const;
40         docstring const error();
41         void advanceChangeNumber();
42         ///@}
43
44 private:
45         struct Private;
46         Private * d;
47 };
48
49
50 } // namespace lyx
51
52 #endif // LYX_ENCHANT_H