diff options
author | sr55 <[email protected]> | 2013-05-19 16:49:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-05-19 16:49:50 +0000 |
commit | 39d5addd4f0772fe45811be4a3b1e3305785866e (patch) | |
tree | f9a07819ae96f76af0f5bdfc9c3019256b99ada3 /win/CS/HandBrake.ApplicationServices/EventArgs | |
parent | 67a224af55647590e886808285132d5955ed9333 (diff) |
WinGui: Rectored some Encode/Queue service code. This restoes "Quit HandBrake" when done option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5485 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/EventArgs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs index 44a66cac7..2bbb7ab97 100644 --- a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs +++ b/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs @@ -12,6 +12,8 @@ namespace HandBrake.ApplicationServices.EventArgs using System;
using System.Runtime.Serialization;
+ using HandBrake.ApplicationServices.Model;
+
/// <summary>
/// Encode Progress Event Args
/// </summary>
@@ -30,14 +32,24 @@ namespace HandBrake.ApplicationServices.EventArgs /// <param name="errorInformation">
/// The error information.
/// </param>
- public EncodeCompletedEventArgs(bool sucessful, Exception exception, string errorInformation)
+ /// <param name="filename">
+ /// The filename.
+ /// </param>
+ public EncodeCompletedEventArgs(bool sucessful, Exception exception, string errorInformation, string filename)
{
this.Successful = sucessful;
this.Exception = exception;
this.ErrorInformation = errorInformation;
+ this.FileName = filename;
}
/// <summary>
+ /// Gets or sets the file name.
+ /// </summary>
+ [DataMember]
+ public string FileName { get; set; }
+
+ /// <summary>
/// Gets or sets a value indicating whether Successful.
/// </summary>
[DataMember]
|