blob: 4d5f968a40d9356a563d019d5c5b9e86ae14e943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.MachineStudio.Common.StudioApplication
{
/// <summary>
/// Represents a component capable of receiving notification for when the Machine Studio shuts down.
/// The component can perform it's own shutdown operations, or cancel the current shutdown operation.
/// </summary>
public interface IShutdownRequestBlocker
{
/// <summary>
/// Called when the application is shutting down.
/// </summary>
/// <returns></returns>
Task<bool> OnShutdownRequest();
}
}
|