summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
index 0f2fa702c..7c679d033 100644
--- a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
+++ b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
@@ -12,19 +12,17 @@
namespace HandBrakeWPF.Services
{
using System;
- using System.Windows.Forms;
using HandBrake.ApplicationServices.Exceptions;
using HandBrake.ApplicationServices.Isolation;
using HandBrake.ApplicationServices.Model;
- using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Services.Encode;
+ using HandBrake.ApplicationServices.Services.Encode.EventArgs;
+ using HandBrake.ApplicationServices.Services.Encode.Interfaces;
using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrakeWPF.Services.Interfaces;
- using EncodeCompletedEventArgs = HandBrake.ApplicationServices.EventArgs.EncodeCompletedEventArgs;
- using EncodeProgressEventArgs = HandBrake.ApplicationServices.EventArgs.EncodeProgressEventArgs;
-
/// <summary>
/// We have multiple implementations of Iencode. This is a wrapper class for the GUI so that the
/// implementation used is controllable via user settings.
@@ -81,7 +79,7 @@ namespace HandBrakeWPF.Services
}
else
{
- this.encodeService = new Encode();
+ this.encodeService = new EncodeService();
}
this.encodeService.EncodeCompleted += this.EncodeServiceEncodeCompleted;