public void LoadConfigurations() { string configFile = FileUtils.GetConfigFile("hi2uc-config.xml"); // load from existing file if (File.Exists(configFile)) { _hiConfigs = HIConfigs.LoadConfiguration(configFile); } else { _hiConfigs = new HIConfigs(configFile); _hiConfigs.SaveConfigurations(); } _hearingImpaired = new HearingImpaired(_hiConfigs); }
public void SaveConfigurations() => _hiConfigs.SaveConfigurations();