OSDN Git Service

add win/C# diff files
[handbrake-jp/handbrake-jp.git] / win / C# / HandBrake.Framework / Model / UpdateCheckResult.cs.diff
diff --git a/win/C#/HandBrake.Framework/Model/UpdateCheckResult.cs.diff b/win/C#/HandBrake.Framework/Model/UpdateCheckResult.cs.diff
new file mode 100644 (file)
index 0000000..7c32da8
--- /dev/null
@@ -0,0 +1,77 @@
+diff --git a/win/C#/HandBrake.Framework/Model/UpdateCheckResult.cs b/win/C#/HandBrake.Framework/Model/UpdateCheckResult.cs
+new file mode 100644
+index 0000000..ba04100
+--- /dev/null
++++ b/win/C#/HandBrake.Framework/Model/UpdateCheckResult.cs
+@@ -0,0 +1,71 @@
++/*  UpdateCheckResult.cs $\r
++    This file is part of the HandBrake source code.\r
++    Homepage: <http://handbrake.fr>.\r
++    It may be used under the terms of the GNU General Public License. */\r
++\r
++namespace HandBrake.Framework.Model\r
++{\r
++    using System;\r
++    using System.Threading;\r
++\r
++    /// <summary>\r
++    /// Used in EndUpdateCheck() for update checking and the IAsyncResult design pattern.\r
++    /// </summary>\r
++    public class UpdateCheckResult : IAsyncResult\r
++    {\r
++        /// <summary>\r
++        /// Initializes a new instance of the <see cref="HandBrake.Framework.Model.UpdateCheckResult"/> class.\r
++        /// </summary>\r
++        /// <param name="asyncState">\r
++        /// The async state.\r
++        /// </param>\r
++        /// <param name="info">\r
++        /// The info.\r
++        /// </param>\r
++        public UpdateCheckResult(object asyncState, UpdateCheckInformation info)\r
++        {\r
++            this.AsyncState = asyncState;\r
++            this.Result = info;\r
++        }\r
++\r
++        /// <summary>\r
++        /// Gets whether the check was executed in debug mode.\r
++        /// </summary>\r
++        public object AsyncState { get; private set; }\r
++\r
++        /// <summary>\r
++        /// Gets the result of the update check.\r
++        /// </summary>\r
++        public UpdateCheckInformation Result { get; private set; }\r
++\r
++        /// <summary>\r
++        /// Gets AsyncWaitHandle.\r
++        /// </summary>\r
++        /// <exception cref="NotImplementedException">\r
++        /// </exception>\r
++        public WaitHandle AsyncWaitHandle\r
++        {\r
++            get { throw new NotImplementedException(); }\r
++        }\r
++\r
++        /// <summary>\r
++        /// Gets a value indicating whether CompletedSynchronously.\r
++        /// </summary>\r
++        /// <exception cref="NotImplementedException">\r
++        /// </exception>\r
++        public bool CompletedSynchronously\r
++        {\r
++            get { throw new NotImplementedException(); }\r
++        }\r
++\r
++        /// <summary>\r
++        /// Gets a value indicating whether IsCompleted.\r
++        /// </summary>\r
++        /// <exception cref="NotImplementedException">\r
++        /// </exception>\r
++        public bool IsCompleted\r
++        {\r
++            get { throw new NotImplementedException(); }\r
++        }\r
++    }\r
++}\r