Class which handles the CLI
Inheritance: HandBrake.ApplicationServices.Services.Base.EncodeBase, IEncode
Esempio n. 1
0
        public TVShowEncodeInfo(MainWindow window, Encode encodingQueue)
            : base(window, encodingQueue)
        {
            this.episodes.CollectionChanged += OnEpisodesChanged;

            this.scanService.ScanStared += OnScanStarted;
            this.scanService.ScanStatusChanged += OnScanStatusChanged;
            this.scanService.ScanCompleted += OnScanCompleted;

            ScanDisc();
        }
Esempio n. 2
0
        protected EncodeInfo(MainWindow mainWindow, Encode encodingQueue)
        {
            this.mainWindow = mainWindow;
            this.encodingQueue = encodingQueue;

            this.encodingQueue.EncodeStarted += OnEncodeStarted;
            this.encodingQueue.EncodeStatusChanged += OnEncodeStatusChanged;
            this.encodingQueue.EncodeCompleted += OnEncodeEnded;

            DependencyPropertyDescriptor descriptor;
            descriptor = DependencyPropertyDescriptor.FromProperty(MainWindow.SourceDriveProperty, typeof(MainWindow));
            descriptor.AddValueChanged(this.mainWindow, (o, e) => OnSourceDriveChanged());

            CheckSettingErrors();
        }
Esempio n. 3
0
 public MovieEncodeInfo(MainWindow mainWindow, Encode encodingQueue)
     : base(mainWindow, encodingQueue)
 {
 }