using System.Collections.Generic; using Schaad.Accounting.Datasets; namespace Schaad.Accounting.Interfaces { public interface ISettingsService { int GetYear(); void SetYear(int year); string GetMandator(); IReadOnlyList GetMandators(int year); void SetMandator(string mandator); string GetBackupFilePath(); string GetDbPath(); string GetLastYearDbPath(); /// /// The mandator's folder, above the per-year folders. For data that is not kept per /// year (e.g. the electricity and water bills, whose period doesn't align with calendar years). /// string GetMandatorPath(); SettingsDataset GetSettings(); } }