diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/EventArgs')
4 files changed, 0 insertions, 237 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs deleted file mode 100644 index 2bbb7ab97..000000000 --- a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeCompletedEventArgs.cs +++ /dev/null @@ -1,70 +0,0 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="EncodeCompletedEventArgs.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Encode Progress Event Args
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices.EventArgs
-{
- using System;
- using System.Runtime.Serialization;
-
- using HandBrake.ApplicationServices.Model;
-
- /// <summary>
- /// Encode Progress Event Args
- /// </summary>
- [DataContractAttribute]
- public class EncodeCompletedEventArgs : EventArgs
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="EncodeCompletedEventArgs"/> class.
- /// </summary>
- /// <param name="sucessful">
- /// The sucessful.
- /// </param>
- /// <param name="exception">
- /// The exception.
- /// </param>
- /// <param name="errorInformation">
- /// The error information.
- /// </param>
- /// <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]
- public bool Successful { get; set; }
-
- /// <summary>
- /// Gets or sets Exception.
- /// </summary>
- [DataMember]
- public Exception Exception { get; set; }
-
- /// <summary>
- /// Gets or sets ErrorInformation.
- /// </summary>
- [DataMember]
- public string ErrorInformation { get; set; }
- }
-}
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeProgressEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeProgressEventArgs.cs deleted file mode 100644 index 37cb76f25..000000000 --- a/win/CS/HandBrake.ApplicationServices/EventArgs/EncodeProgressEventArgs.cs +++ /dev/null @@ -1,63 +0,0 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="EncodeProgressEventArgs.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Encode Progress Event Args
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices.EventArgs
-{
- using System;
- using System.Runtime.Serialization;
-
- /// <summary>
- /// Encode Progress Event Args
- /// </summary>
- [DataContractAttribute]
- public class EncodeProgressEventArgs : EventArgs
- {
- /// <summary>
- /// Gets or sets PercentComplete.
- /// </summary>
- [DataMember]
- public float PercentComplete { get; set; }
-
- /// <summary>
- /// Gets or sets CurrentFrameRate.
- /// </summary>
- [DataMember]
- public float CurrentFrameRate { get; set; }
-
- /// <summary>
- /// Gets or sets AverageFrameRate.
- /// </summary>
- [DataMember]
- public float AverageFrameRate { get; set; }
-
- /// <summary>
- /// Gets or sets EstimatedTimeLeft.
- /// </summary>
- [DataMember]
- public TimeSpan EstimatedTimeLeft { get; set; }
-
- /// <summary>
- /// Gets or sets Task.
- /// </summary>
- [DataMember]
- public int Task { get; set; }
-
- /// <summary>
- /// Gets or sets TaskCount.
- /// </summary>
- [DataMember]
- public int TaskCount { get; set; }
-
- /// <summary>
- /// Gets or sets ElapsedTime.
- /// </summary>
- [DataMember]
- public TimeSpan ElapsedTime { get; set; }
- }
-}
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/ScanCompletedEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/ScanCompletedEventArgs.cs deleted file mode 100644 index 6ab67d3ec..000000000 --- a/win/CS/HandBrake.ApplicationServices/EventArgs/ScanCompletedEventArgs.cs +++ /dev/null @@ -1,65 +0,0 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="ScanCompletedEventArgs.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Scan Progress Event Args
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices.EventArgs
-{
- using System;
- using System.Runtime.Serialization;
-
- /// <summary>
- /// Scan Progress Event Args
- /// </summary>
- [DataContractAttribute]
- public class ScanCompletedEventArgs : EventArgs
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="ScanCompletedEventArgs"/> class.
- /// </summary>
- /// <param name="cancelled">
- /// Whether the scan was cancelled.
- /// </param>
- /// <param name="exception">
- /// The exception.
- /// </param>
- /// <param name="errorInformation">
- /// The error information.
- /// </param>
- public ScanCompletedEventArgs(bool cancelled, Exception exception, string errorInformation)
- {
- this.Successful = !cancelled && exception == null && string.IsNullOrEmpty(errorInformation);
- this.Cancelled = cancelled;
- this.Exception = exception;
- this.ErrorInformation = errorInformation;
- }
-
- /// <summary>
- /// Gets or sets a value indicating whether Successful.
- /// </summary>
- [DataMember]
- public bool Successful { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether Cancelled.
- /// </summary>
- [DataMember]
- public bool Cancelled { get; set; }
-
- /// <summary>
- /// Gets or sets Exception.
- /// </summary>
- [DataMember]
- public Exception Exception { get; set; }
-
- /// <summary>
- /// Gets or sets ErrorInformation.
- /// </summary>
- [DataMember]
- public string ErrorInformation { get; set; }
- }
-}
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/ScanProgressEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/ScanProgressEventArgs.cs deleted file mode 100644 index ff84bd7d5..000000000 --- a/win/CS/HandBrake.ApplicationServices/EventArgs/ScanProgressEventArgs.cs +++ /dev/null @@ -1,39 +0,0 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="ScanProgressEventArgs.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Scan Progress Event Args
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices.EventArgs
-{
- using System;
- using System.Runtime.Serialization;
-
- /// <summary>
- /// Scan Progress Event Args
- /// </summary>
- [DataContractAttribute]
- public class ScanProgressEventArgs : EventArgs
- {
- /// <summary>
- /// Gets or sets the title currently being scanned.
- /// </summary>
- [DataMember]
- public int CurrentTitle { get; set; }
-
- /// <summary>
- /// Gets or sets the total number of Titles.
- /// </summary>
- [DataMember]
- public int Titles { get; set; }
-
- /// <summary>
- /// Gets or sets the percentage.
- /// </summary>
- [DataMember]
- public decimal Percentage { get; set; }
- }
-}
|