]> git.lyx.org Git - lyx.git/blob - src/HunspellChecker.h
InsetCommand ctor: Pass 'Buffer *'
[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         /// SpellChecker inherited methods.
27         ///@{
28         enum Result check(WordLangTuple const &);
29         void suggest(WordLangTuple const &, docstring_list &);
30         void insert(WordLangTuple const &);
31         void accept(WordLangTuple const &);
32         docstring const error();
33         ///@}
34
35 private:
36         struct Private;
37         Private * d;
38 };
39
40
41 } // namespace lyx
42
43 #endif // LYX_Hunspell_H