]> git.lyx.org Git - lyx.git/blob - src/AspellChecker.h
prepare Qt 5.6 builds
[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 stem(WordLangTuple const &, docstring_list &) {}
31         void insert(WordLangTuple const &);
32         void remove(WordLangTuple const &);
33         void accept(WordLangTuple const &);
34         bool hasDictionary(Language const * lang) const;
35         int numDictionaries() const;
36         docstring const error();
37         void advanceChangeNumber();
38         //@}
39
40 private:
41         struct Private;
42         Private * d;
43 };
44
45
46 } // namespace lyx
47
48 #endif // LYX_ASPELL_H