mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-17 11:46:46 -04:00
Add voice api calls to steamosctl and proxy.
Added listing of screen reader locales. Added listing of voices for a given locale. Added getting and setting of voice property.
This commit is contained in:
parent
02a15c9295
commit
afa0eddf41
5 changed files with 82 additions and 30 deletions
|
@ -170,8 +170,8 @@ impl<'dbus> OrcaManager<'dbus> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn get_voices(&self, locale: &str) -> Option<Vec<String>> {
|
||||
self.voices_by_language.get(locale).cloned()
|
||||
pub fn get_voices(&self) -> HashMap<String, Vec<String>> {
|
||||
self.voices_by_language.clone()
|
||||
}
|
||||
|
||||
pub fn get_voice_locales(&self) -> Vec<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue