// -------------------------------------------------------------------------------------------------------------------- // // 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 HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Parsing; /// /// Common interface for all the main tab panels /// public interface ITabInterface { /// /// Setup the window after a scan. /// /// /// The selected title. /// /// /// The Current preset /// /// /// The task. /// void SetSource(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); } }