diff options
author | sr55 <[email protected]> | 2017-09-17 15:43:47 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-09-17 15:44:02 +0100 |
commit | 361f4d9e6c055faa48c3ca61a97872d0216261f6 (patch) | |
tree | c298da50abab13e5f7ae07cece8a0bc77fa6fe3d /win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs | |
parent | 491e02354e74118ba9aca4ef201c8d2c3a42bda4 (diff) |
WinGui: Initial ground work on code that will detect when the user modifies settings that don't match the currently selected preset.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs index 3e3ca0466..bdbeecf3a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs +++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/ITabInterface.cs @@ -9,6 +9,9 @@ namespace HandBrakeWPF.ViewModels.Interfaces
{
+ using System;
+
+ using HandBrakeWPF.EventArgs;
using HandBrakeWPF.Services.Presets.Model;
using HandBrakeWPF.Services.Scan.Model;
@@ -19,6 +22,8 @@ namespace HandBrakeWPF.ViewModels.Interfaces /// </summary>
public interface ITabInterface
{
+ event EventHandler<TabStatusEventArgs> TabStatusChanged;
+
/// <summary>
/// Setup the window after a scan.
/// </summary>
@@ -54,5 +59,7 @@ namespace HandBrakeWPF.ViewModels.Interfaces /// The task.
/// </param>
void UpdateTask(EncodeTask task);
+
+ bool MatchesPreset(Preset preset);
}
}
|