mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-23 02:52:10 +01:00
25 lines
600 B
C#
25 lines
600 B
C#
// <copyright file="IUpgradeService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
|
|
|
|
namespace FileConverter.Services
|
|
{
|
|
using System.Threading.Tasks;
|
|
|
|
public interface IUpgradeService
|
|
{
|
|
event System.EventHandler<UpgradeVersionDescription> NewVersionAvailable;
|
|
|
|
UpgradeVersionDescription UpgradeVersionDescription
|
|
{
|
|
get;
|
|
}
|
|
|
|
Task<UpgradeVersionDescription> CheckForUpgrade();
|
|
|
|
Task<string> DownloadChangeLog();
|
|
|
|
Task StartUpgrade();
|
|
|
|
void CancelUpgrade();
|
|
}
|
|
}
|