3 * \file AppleSpellChecker.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef LYX_APPLESPELL_H
13 #define LYX_APPLESPELL_H
15 #include "SpellChecker.h"
19 class AppleSpellChecker : public SpellChecker
25 /// \name SpellChecker inherited methods
27 enum Result check(WordLangTuple const &);
28 void suggest(WordLangTuple const &, docstring_list &);
29 void insert(WordLangTuple const &);
30 void remove(WordLangTuple const &);
31 void accept(WordLangTuple const &);
32 bool hasDictionary(Language const * lang) const;
33 bool canCheckParagraph() const { return true; }
34 int numMisspelledWords() const;
35 void misspelledWord(int index, int & start, int & length) const;
36 docstring const error();
37 void advanceChangeNumber();
48 #endif // LYX_APPLESPELL_H