2026-03-02 00:44:29 +01:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Wino.Core.Domain.Models.Updates;
|
2026-03-06 03:42:08 +01:00
|
|
|
using System.Collections.Generic;
|
2026-03-02 00:44:29 +01:00
|
|
|
|
|
|
|
|
namespace Wino.Core.Domain.Interfaces;
|
|
|
|
|
|
|
|
|
|
public interface IUpdateManager
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Loads and parses the update notes for the current version from the bundled asset file.</summary>
|
|
|
|
|
Task<UpdateNotes> GetLatestUpdateNotesAsync();
|
|
|
|
|
|
2026-03-05 10:12:03 +01:00
|
|
|
/// <summary>Loads and parses the app feature highlights from the bundled asset file.</summary>
|
|
|
|
|
Task<List<UpdateNoteSection>> GetFeaturesAsync();
|
|
|
|
|
|
2026-03-02 00:44:29 +01:00
|
|
|
/// <summary>Returns true if the current version's update notes have not yet been shown to the user.</summary>
|
|
|
|
|
bool ShouldShowUpdateNotes();
|
|
|
|
|
|
|
|
|
|
/// <summary>Stores a flag in local settings indicating the update notes for the current version have been seen.</summary>
|
|
|
|
|
void MarkUpdateNotesAsSeen();
|
|
|
|
|
|
|
|
|
|
}
|