/* IUpdateProgress * License: NCSA Open Source License * * Copyright: SPT * AUTHORS: * waffle.lord */ using SPT.Launcher.Models.Launcher; using System; namespace SPT.Launcher.Interfaces { public interface IUpdateProgress { /// /// The task that will report progress to the /// public Action ProgressableTask { get; } /// /// Cancel the ProgressableTask with a reason. /// public event EventHandler TaskCancelled; /// /// The will subscribe to this event to update its main progress bar (top bar) /// public event EventHandler ProgressChanged; } }