// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// A Command for resetting the video / advnaced tabs encoder options.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Commands
{
using Caliburn.Micro;
using HandBrakeWPF.Commands.Interfaces;
using HandBrakeWPF.ViewModels.Interfaces;
///
/// A Command for resetting the video / advnaced tabs encoder options.
///
public class AdvancedEncoderOptionsCommand : IAdvancedEncoderOptionsCommand
{
///
/// Clear out the advanced options
///
public void ExecuteClearAdvanced()
{
IAdvancedViewModel advancedViewModel = IoC.Get();
advancedViewModel.Clear();
}
///
/// Clear the advanced encoder options out on the video tab.
///
public void ExecuteClearVideo()
{
IVideoViewModel videoViewModel = IoC.Get();
videoViewModel.ClearAdvancedSettings();
}
}
}