diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
4 files changed, 8 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index d39975244..c93a005d3 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -70,7 +70,7 @@ namespace HandBrakeWPF.ViewModels {
#region Private Variables and Services
- private readonly IQueueProcessor queueProcessor;
+ private readonly IQueueService queueProcessor;
private readonly IPresetService presetService;
private readonly IErrorService errorService;
private readonly IUpdateService updateService;
@@ -126,7 +126,7 @@ namespace HandBrakeWPF.ViewModels this.notifyIconService = notifyIconService;
this.QueueViewModel = queueViewModel;
this.userSettingService = userSettingService;
- this.queueProcessor = IoC.Get<IQueueProcessor>();
+ this.queueProcessor = IoC.Get<IQueueService>();
this.SummaryViewModel = summaryViewModel;
this.PictureSettingsViewModel = pictureSettingsViewModel;
diff --git a/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs index 3e5fb83c1..59de994df 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MiniViewModel.cs @@ -25,7 +25,7 @@ namespace HandBrakeWPF.ViewModels public class MiniViewModel : ViewModelBase, IMiniViewModel
{
private readonly IEncode encodeService;
- private readonly IQueueProcessor queueProcessor;
+ private readonly IQueueService queueProcessor;
private string queueStatus;
private string progress;
private string task;
@@ -40,7 +40,7 @@ namespace HandBrakeWPF.ViewModels /// <param name="queueProcessor">
/// The queue Processor.
/// </param>
- public MiniViewModel(IEncode encodeService, IQueueProcessor queueProcessor)
+ public MiniViewModel(IEncode encodeService, IQueueService queueProcessor)
{
this.encodeService = encodeService;
this.queueProcessor = queueProcessor;
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs index a5df085b0..15602f79d 100644 --- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs @@ -44,7 +44,7 @@ namespace HandBrakeWPF.ViewModels private readonly IErrorService errorService;
private readonly IUserSettingService userSettingService;
- private readonly IQueueProcessor queueProcessor;
+ private readonly IQueueService queueProcessor;
private string jobStatus;
private string jobsPending;
private string whenDoneAction;
@@ -70,7 +70,7 @@ namespace HandBrakeWPF.ViewModels /// <param name="errorService">
/// The Error Service
/// </param>
- public QueueViewModel(IUserSettingService userSettingService, IQueueProcessor queueProcessor, IErrorService errorService)
+ public QueueViewModel(IUserSettingService userSettingService, IQueueService queueProcessor, IErrorService errorService)
{
this.userSettingService = userSettingService;
this.queueProcessor = queueProcessor;
diff --git a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs index 60706c3fd..c75981ef2 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs @@ -18,7 +18,7 @@ namespace HandBrakeWPF.ViewModels using HandBrakeWPF.Services.Interfaces;
using HandBrakeWPF.ViewModels.Interfaces;
- using IQueueProcessor = HandBrakeWPF.Services.Queue.Interfaces.IQueueProcessor;
+ using IQueueService = HandBrakeWPF.Services.Queue.Interfaces.IQueueService;
/// <summary>
/// The Shell View Model
@@ -189,7 +189,7 @@ namespace HandBrakeWPF.ViewModels /// </returns>
public bool CanClose()
{
- IQueueProcessor processor = IoC.Get<IQueueProcessor>();
+ IQueueService processor = IoC.Get<IQueueService>();
if (processor != null && processor.EncodeService.IsEncoding)
{
MessageBoxResult result =
|