diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-11-29 02:41:07 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-09 15:04:00 (GMT) |
commit | b50c56cbeafa1ea15d71829ef2f633cb212f8fcc (patch) | |
tree | c9f7a639d8c77fb4894ec4a827f9494e99afb097 /SwifTools/SpellCheckerFactory.h | |
parent | 404b087a11144c66416513929eb57c9786f41ffe (diff) | |
download | swift-contrib-b50c56cbeafa1ea15d71829ef2f633cb212f8fcc.zip swift-contrib-b50c56cbeafa1ea15d71829ef2f633cb212f8fcc.tar.bz2 |
Added Factory for creeating SpellCheckers
Diffstat (limited to 'SwifTools/SpellCheckerFactory.h')
-rw-r--r-- | SwifTools/SpellCheckerFactory.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/SwifTools/SpellCheckerFactory.h b/SwifTools/SpellCheckerFactory.h new file mode 100644 index 0000000..72ed911 --- /dev/null +++ b/SwifTools/SpellCheckerFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2011 Voicu Vlad + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#define HAVE_HUNSPELL + +namespace Swift { + class SpellChecker; + class SpellCheckerFactory { + public: + SpellCheckerFactory(); + SpellChecker* createSpellChecker(); + }; +} |