// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The Main Window View Model // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.ViewModels.Interfaces { using System.Windows; using HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Services.Encode.Model; using HandBrakeWPF.Services.Presets.Model; /// /// The Main Window View Model /// public interface IMainViewModel { /// /// Sets SelectedPreset. /// Preset SelectedPreset { set; } /// /// Shutdown the Application /// void ExitApplication(); /// /// Open the Log Window /// void OpenLogWindow(); /// /// Open the Queue Window. /// void OpenQueueWindow(); /// /// Add the current task to the queue. /// /// /// True if added, false if error /// bool AddToQueue(); /// /// The launch help. /// void LaunchHelp(); /// /// The select source window. /// void SelectSourceWindow(); /// /// File Scan /// void FileScan(); /// /// Folder Scan /// void FolderScan(); /// /// Stop an Encode. /// void StopEncode(); /// /// Start an Encode /// void StartEncode(); /// /// The start scan. /// /// /// The filename. /// /// /// The title. /// void StartScan(string filename, int title); /// /// Edit a Queue Task /// /// /// The task. /// void EditQueueJob(EncodeTask task); /// /// Shutdown this View /// void Shutdown(); /// /// The files dropped on window. /// /// /// The e. /// void FilesDroppedOnWindow(DragEventArgs e); } }