diff options
author | sr55 <[email protected]> | 2013-11-19 22:30:26 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-11-19 22:30:26 +0000 |
commit | 830bb18b173a1c68720eb0df2ed860daea7d4c7e (patch) | |
tree | 780e4ad48d4917555121766f5e1f3eb838970042 /win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs | |
parent | f83ab26ab8e1d2ce277f0c12f23b5753bf63d763 (diff) |
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
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs | 11 |
1 files changed, 7 insertions, 4 deletions
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 /// <param name="destination">
/// The destination.
/// </param>
- public void ProcessLogs(string destination)
+ /// <param name="configuration">
+ /// The configuration.
+ /// </param>
+ public void ProcessLogs(string destination, HBConfiguration configuration)
{
- this.encodeService.ProcessLogs(destination);
+ this.encodeService.ProcessLogs(destination, configuration);
}
/// <summary>
|