summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_spellcheck_engine.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:25 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:25 +0200
commitc344b64f13e7aa3c87c423cc14e57536d28c40b6 (patch)
treedc64f304fc4cb0082f45d2cb560259ec22acee47 /program/lib/Roundcube/rcube_spellcheck_engine.php
parent70c7df8faa5a9023a2773dc5a38932f1ad3a84aa (diff)
Get supported spell-check languages from the configured backend; replace suspended google spell service with our new service at spell.roundcube.net
Diffstat (limited to 'program/lib/Roundcube/rcube_spellcheck_engine.php')
-rw-r--r--program/lib/Roundcube/rcube_spellcheck_engine.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_spellcheck_engine.php b/program/lib/Roundcube/rcube_spellcheck_engine.php
index 88e10ac05..3cb4ca3de 100644
--- a/program/lib/Roundcube/rcube_spellcheck_engine.php
+++ b/program/lib/Roundcube/rcube_spellcheck_engine.php
@@ -43,6 +43,13 @@ abstract class rcube_spellcheck_engine
}
/**
+ * Return a list of languages supported by this backend
+ *
+ * @return array Indexed list of language codes
+ */
+ abstract function languages();
+
+ /**
* Set content and check spelling
*
* @param string $text Text content for spellchecking