summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.Framework/Services/Interfaces/IAppcastReader.cs
blob: 7064a08d3f7459040c6a2f3b71fb95d3ebd2d8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace HandBrake.Framework.Services.Interfaces
{
    using System;

    public interface IAppcastReader
    {
        /// <summary>
        /// Gets Information about an update to HandBrake
        /// </summary>
        Uri DescriptionUrl { get; }

        /// <summary>
        /// Gets HandBrake's version from the appcast.xml file.
        /// </summary>
        string Version { get; }

        /// <summary>
        /// Gets HandBrake's Build from the appcast.xml file.
        /// </summary>
        string Build { get; }

        /// <summary>
        /// Gets the URL for update file.
        /// </summary>
        string DownloadFile { get; }

        /// <summary>
        /// Get the build information from the required appcasts. Run before accessing the public vars.
        /// </summary>
        /// <param name="input">
        /// The input.
        /// </param>
        void GetUpdateInfo(string input);
    }
}