]> git.lyx.org Git - lyx.git/blob - src/AspellChecker.h
6bef6a854a0a6f9396dd8ae307636657f7a5c9b0
[lyx.git] / src / AspellChecker.h
1 // -*- C++ -*-
2 /**
3  * \file AspellChecker.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Kevin Atkinson
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef LYX_ASPELL_H
14 #define LYX_ASPELL_H
15
16 #include "SpellChecker.h"
17
18 namespace lyx {
19
20 class AspellChecker : public SpellChecker
21 {
22 public:
23         AspellChecker();
24         ~AspellChecker();
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         //@}
36
37 private:
38         struct Private;
39         Private * d;
40 };
41
42
43 } // namespace lyx
44
45 #endif // LYX_ASPELL_H