blob: 4e7aa857b5fc011be4e6399cbaf9652447c228df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Web.Messages;
namespace Tango.FSE.Common.Updates
{
/// <summary>
/// Represents an FSE software updates manager.
/// </summary>
public interface IUpdatesManager : INotifyApplicationReady
{
/// <summary>
/// Gets or sets a value indicating whether to perform an automatic update checks.
/// </summary>
bool AutoCheckForUpdates { get; set; }
/// <summary>
/// Gets or sets the automatic update check interval.
/// </summary>
TimeSpan AutoUpdateCheckInterval { get; set; }
/// <summary>
/// Checks for updates and returns a response containing the relevant blob/cdn addresses.
/// </summary>
/// <returns></returns>
Task<CheckForUpdatesResponse> CheckForUpdates();
}
}
|