summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladvoic@gmail.com>2011-11-29 02:41:07 (GMT)
committervlad <vlad@tyrion.(none)>2012-10-13 13:55:44 (GMT)
commit0a13558efc0ccf0e5afceb63c416d8cb401997ec (patch)
tree0fe17d78ecced7389b7f2a3d121b223bbce8dc26 /SwifTools/SpellCheckerFactory.h
parent5e7be9a49cf540a68275f084e57a6efe8d7c1626 (diff)
downloadswift-contrib-0a13558efc0ccf0e5afceb63c416d8cb401997ec.zip
swift-contrib-0a13558efc0ccf0e5afceb63c416d8cb401997ec.tar.bz2
Added Factory for creeating SpellCheckers
Diffstat (limited to 'SwifTools/SpellCheckerFactory.h')
-rw-r--r--SwifTools/SpellCheckerFactory.h18
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();
+ };
+}