OSDN Git Service

add win/C# diff files
[handbrake-jp/handbrake-jp.git] / win / C# / HandBrake.Framework / Services / Interfaces / IAppcastReader.cs.diff
diff --git a/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs.diff b/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs.diff
new file mode 100644 (file)
index 0000000..05d8102
--- /dev/null
@@ -0,0 +1,42 @@
+diff --git a/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs b/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs
+new file mode 100644
+index 0000000..7064a08
+--- /dev/null
++++ b/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs
+@@ -0,0 +1,35 @@
++namespace HandBrake.Framework.Services.Interfaces\r
++{\r
++    using System;\r
++\r
++    public interface IAppcastReader\r
++    {\r
++        /// <summary>\r
++        /// Gets Information about an update to HandBrake\r
++        /// </summary>\r
++        Uri DescriptionUrl { get; }\r
++\r
++        /// <summary>\r
++        /// Gets HandBrake's version from the appcast.xml file.\r
++        /// </summary>\r
++        string Version { get; }\r
++\r
++        /// <summary>\r
++        /// Gets HandBrake's Build from the appcast.xml file.\r
++        /// </summary>\r
++        string Build { get; }\r
++\r
++        /// <summary>\r
++        /// Gets the URL for update file.\r
++        /// </summary>\r
++        string DownloadFile { get; }\r
++\r
++        /// <summary>\r
++        /// Get the build information from the required appcasts. Run before accessing the public vars.\r
++        /// </summary>\r
++        /// <param name="input">\r
++        /// The input.\r
++        /// </param>\r
++        void GetUpdateInfo(string input);\r
++    }\r
++}
+\ No newline at end of file