+bool EnchantChecker::hasDictionary(Language const * lang) const
+{
+ if (!lang)
+ return false;
+ enchant::Broker * instance = enchant::Broker::instance();
+ return (instance->dict_exists(lang->code()));
+}
+
+
+int EnchantChecker::numDictionaries() const
+{
+ return d->spellers_.size();
+}
+
+