]> git.lyx.org Git - lyx.git/blob - src/HunspellChecker.h
Provide proper fallback if a bibliography processor is not found
[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         /// \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_Hunspell_H