]> git.lyx.org Git - lyx.git/blob - src/EnchantChecker.h
Make the fake sequence for braces highly unlikely (addressing #6478).
[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 accept(WordLangTuple const &);
38         docstring const error();
39         ///@}
40
41 private:
42         struct Private;
43         Private * d;
44 };
45
46
47 } // namespace lyx
48
49 #endif // LYX_ENCHANT_H