summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs')
-rw-r--r--win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs b/win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs
new file mode 100644
index 000000000..e7e1fc813
--- /dev/null
+++ b/win/CS/HandBrakeWPF/EventArgs/QueueCompletedEventArgs.cs
@@ -0,0 +1,38 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="QueueCompletedEventArgs.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>
+// Queue Completed Event Args
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.EventArgs
+{
+ using System;
+ using System.Runtime.Serialization;
+
+ /// <summary>
+ /// Queue Completed Event Args
+ /// </summary>
+ [DataContract]
+ public class QueueCompletedEventArgs : EventArgs
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="QueueCompletedEventArgs"/> class.
+ /// </summary>
+ /// <param name="wasManuallyStopped">
+ /// The was Manually Stopped.
+ /// </param>
+ public QueueCompletedEventArgs(bool wasManuallyStopped)
+ {
+ this.WasManuallyStopped = wasManuallyStopped;
+ }
+
+ /// <summary>
+ /// Gets a value indicating whether the queue WasManuallyStopped.
+ /// </summary>
+ [DataMember]
+ public bool WasManuallyStopped { get; private set; }
+ }
+}