diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs index 9a9e905e0..806b763be 100644 --- a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs @@ -16,6 +16,7 @@ namespace HandBrakeWPF.ViewModels using HandBrake.ApplicationServices.Interop.Model.Encoding;
+ using HandBrakeWPF.EventArgs;
using HandBrakeWPF.Helpers;
using HandBrakeWPF.Model;
using HandBrakeWPF.Services.Presets.Model;
@@ -190,6 +191,8 @@ namespace HandBrakeWPF.ViewModels #endregion
+ public event EventHandler<TabStatusEventArgs> TabStatusChanged;
+
#region Properties
/// <summary>
@@ -954,6 +957,11 @@ namespace HandBrakeWPF.ViewModels this.AdvancedOptionsString = task.AdvancedEncoderOptions;
}
+ public bool MatchesPreset(Preset preset)
+ {
+ return false;
+ }
+
/// <summary>
/// Setup this window for a new source
/// </summary>
@@ -981,6 +989,11 @@ namespace HandBrakeWPF.ViewModels #region Methods
+ protected virtual void OnTabStatusChanged(TabStatusEventArgs e)
+ {
+ this.TabStatusChanged?.Invoke(this, e);
+ }
+
/// <summary>
/// The set advanced to defaults.
/// </summary>
|