diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-04-11 14:59:57 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-04-11 14:59:57 +0200 |
commit | 317521b607e3a14364f5d486630cf1e5181053e4 (patch) | |
tree | 17fa3479a7169e92739232fb7c594c7f9e3cce56 /lib/private/Server.php | |
parent | c6645cbc46291d2621992b7f0bb087f115e849eb (diff) | |
download | nextcloud-server-317521b607e3a14364f5d486630cf1e5181053e4.tar.gz nextcloud-server-317521b607e3a14364f5d486630cf1e5181053e4.zip |
feat(SpeechToText): Add SpeechToText provider API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 78099f2a8d0..4cf278c82a9 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -148,6 +148,7 @@ use OC\Security\VerificationToken\VerificationToken; use OC\Session\CryptoWrapper; use OC\Share20\ProviderFactory; use OC\Share20\ShareHelper; +use OC\SpeechToText\SpeechToTextManager; use OC\SystemTag\ManagerFactory as SystemTagManagerFactory; use OC\Tagging\TagMapper; use OC\Talk\Broker; @@ -246,6 +247,7 @@ use OCP\Security\ISecureRandom; use OCP\Security\ITrustedDomainHelper; use OCP\Security\VerificationToken\IVerificationToken; use OCP\Share\IShareHelper; +use OCP\SpeechToText\ISpeechToTextManager; use OCP\SystemTag\ISystemTagManager; use OCP\SystemTag\ISystemTagObjectMapper; use OCP\Talk\IBroker; @@ -1457,6 +1459,8 @@ class Server extends ServerContainer implements IServerContainer { $this->registerAlias(ITranslationManager::class, TranslationManager::class); + $this->registerAlias(ISpeechToTextManager::class, SpeechToTextManager::class); + $this->connectDispatcher(); } |