aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/FirmwareUpgrade/IFirmwareUpgrader.cs
blob: 64f69783326b27891898f92b2fa9a880318159b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.Upgrade;

namespace Tango.PPC.Common.FirmwareUpgrade
{
    public interface IFirmwareUpgrader
    {
        /// <summary>
        /// Performs a firmware upgrade.
        /// </summary>
        Task<FirmwareUpgradeHandler> PerformUpgrade();

        /// <summary>
        /// Performs a firmware upgrade from the specified TFP stream .
        /// </summary>
        Task<FirmwareUpgradeHandler> PerformUpgrade(Stream tfpStream);
    }
}