summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/UpdateCheckInformation.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-01-24 17:39:17 +0000
committersr55 <[email protected]>2010-01-24 17:39:17 +0000
commitf6357dbdf13e7f9712d51317d2d7b5f97ff7a6ea (patch)
treeceb746ab1bbe70c044d0f178e14da12983bdf19c /win/C#/Functions/UpdateCheckInformation.cs
parent2cc277f8e32994705a42e8846f17882bb63624b4 (diff)
WinGui:
- Quick patch to allow "," to be used in CSV files when importing into the gui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3085 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/UpdateCheckInformation.cs')
-rw-r--r--win/C#/Functions/UpdateCheckInformation.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/win/C#/Functions/UpdateCheckInformation.cs b/win/C#/Functions/UpdateCheckInformation.cs
index 253817866..c157f8a68 100644
--- a/win/C#/Functions/UpdateCheckInformation.cs
+++ b/win/C#/Functions/UpdateCheckInformation.cs
@@ -1,4 +1,5 @@
using System;
+using System.Threading;
namespace Handbrake.Functions
{
@@ -20,4 +21,30 @@ namespace Handbrake.Functions
/// </summary>
public Exception Error { get; set; }
}
+
+ /// <summary>
+ /// Used in EndUpdateCheck() for update checking and the IAsyncResult design pattern.
+ /// </summary>
+ public class UpdateCheckResult : IAsyncResult
+ {
+ public UpdateCheckResult(object asyncState, UpdateCheckInformation info)
+ {
+ AsyncState = asyncState;
+ Result = info;
+ }
+
+ /// <summary>
+ /// Gets whether the check was executed in debug mode.
+ /// </summary>
+ public object AsyncState { get; private set; }
+
+ /// <summary>
+ /// Gets the result of the update check.
+ /// </summary>
+ public UpdateCheckInformation Result { get; private set; }
+
+ public WaitHandle AsyncWaitHandle { get { throw new NotImplementedException(); } }
+ public bool CompletedSynchronously { get { throw new NotImplementedException(); } }
+ public bool IsCompleted { get { throw new NotImplementedException(); } }
+ }
}