Return the unicode.yaml file locations.
(&self)
| 800 | |
| 801 | /// Return the unicode.yaml file locations. |
| 802 | pub fn get_speech_unicode_file(&self) ->(PathBuf, PathBuf) { |
| 803 | if !self.error.is_empty() { |
| 804 | panic!("Internal error: get_speech_unicode_file called on invalid PreferenceManager -- error message\n{}", &self.error); |
| 805 | }; |
| 806 | return (self.speech_unicode.files[0].as_ref().unwrap().to_path_buf(), self.speech_unicode_full.files[0].as_ref().unwrap().to_path_buf()); |
| 807 | } |
| 808 | |
| 809 | /// Return the speech rule style file locations. |
| 810 | pub fn get_braille_file(&self) -> &Locations { |