summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/EventArgs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-08-18 20:29:53 +0000
committersr55 <[email protected]>2013-08-18 20:29:53 +0000
commitf7dd1b81feb1a34e030d47f782bfa017a5550fd1 (patch)
tree8a7a643fe3f43ad117eed3ccc0ece471f3ed7dc2 /win/CS/HandBrake.ApplicationServices/EventArgs
parent1b762c5dcdab7133e2954fd3bb21e239a74de7e5 (diff)
WinGui: Stopping an encode or pausing the queue will no longer run the "When Done" option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5714 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/EventArgs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/EventArgs/QueueCompletedEventArgs.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/EventArgs/QueueCompletedEventArgs.cs b/win/CS/HandBrake.ApplicationServices/EventArgs/QueueCompletedEventArgs.cs
new file mode 100644
index 000000000..a98e784c3
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/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 HandBrake.ApplicationServices.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; }
+ }
+}