 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
44 virtual bool IsCorrect (
const QString& word)
const = 0;
70 virtual void LearnWord (
const QString& word) = 0;
103 Q_DECLARE_INTERFACE (
ISpellChecker,
"org.LeechCraft.ISpellChecker/1.0")
virtual QStringList GetPropositions(const QString &word) const =0
Returns the list of propositions for the word.
virtual bool IsCorrect(const QString &word) const =0
Returns if the given word is correct.
virtual ~ISpellCheckProvider()
Interface for plugins providing spell checker capabilities.
virtual ~ISpellChecker()
Destroys the spell checker instance.
An instance of a spell checker.
virtual ISpellChecker_ptr CreateSpellchecker()=0
Requests a new spellchecker.
virtual void LearnWord(const QString &word)=0
Asks the spell checker to learn the given word.
std::shared_ptr< ISpellChecker > ISpellChecker_ptr
A shared pointer to an ISpellChecker instance.