From 830bb18b173a1c68720eb0df2ed860daea7d4c7e Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 19 Nov 2013 22:30:26 +0000 Subject: WinGui: Removed the need for the user settings service from IEncode and IScan interfaces and various other places. This makes the API much simpler to use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5897 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs') diff --git a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs index c7247a7c7..254ccefb9 100644 --- a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs +++ b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs @@ -63,7 +63,7 @@ namespace HandBrakeWPF.Services } else { - this.encodeService = new LibEncode(userSettingService); + this.encodeService = new LibEncode(); } } catch (Exception exc) @@ -78,7 +78,7 @@ namespace HandBrakeWPF.Services } else { - this.encodeService = new Encode(userSettingService); + this.encodeService = new Encode(); } this.encodeService.EncodeCompleted += this.EncodeServiceEncodeCompleted; @@ -165,9 +165,12 @@ namespace HandBrakeWPF.Services /// /// The destination. /// - public void ProcessLogs(string destination) + /// + /// The configuration. + /// + public void ProcessLogs(string destination, HBConfiguration configuration) { - this.encodeService.ProcessLogs(destination); + this.encodeService.ProcessLogs(destination, configuration); } /// -- cgit v1.2.3