// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// Defines the ITabInterface type.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.ViewModels.Interfaces
{
using HandBrakeWPF.Services.Presets.Model;
using HandBrakeWPF.Services.Scan.Model;
using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask;
///
/// Common interface for all the main tab panels
///
public interface ITabInterface
{
///
/// Setup the window after a scan.
///
///
/// The source.
///
///
/// The selected title.
///
///
/// The Current preset
///
///
/// The task.
///
void SetSource(Source source, Title selectedTitle, Preset currentPreset, EncodeTask task);
///
/// Set the selected preset
///
///
/// The preset.
///
///
/// The task.
///
void SetPreset(Preset preset, EncodeTask task);
///
/// Update all the UI controls based on the encode task passed in.
///
///
/// The task.
///
void UpdateTask(EncodeTask task);
}
}