diff options
Diffstat (limited to 'SwifTools/SpellCheckerFactory.h')
-rw-r--r-- | SwifTools/SpellCheckerFactory.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/SwifTools/SpellCheckerFactory.h b/SwifTools/SpellCheckerFactory.h new file mode 100644 index 0000000..086ea66 --- /dev/null +++ b/SwifTools/SpellCheckerFactory.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2011 Vlad Voicu + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#ifdef HAVE_HUNSPELL +#define HAVE_SPELLCHECKER +#endif + +namespace Swift { + class SpellChecker; + class SpellCheckerFactory { + public: + SpellCheckerFactory(); + SpellChecker* createSpellChecker(const std::string& dictFile); + }; +} |