OSDN Git Service

import original 0.9.5 release
[handbrake-jp/handbrake-jp.git] / win / C# / HandBrake.Framework / Services / Interfaces / IAppcastReader.cs
diff --git a/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs b/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs
new file mode 100644 (file)
index 0000000..7064a08
--- /dev/null
@@ -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