OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / Functions / UpdateCheckInformation.cs
1 using System;\r
2 \r
3 namespace Handbrake.Functions\r
4 {\r
5     /// <summary>\r
6     /// Provides information about an update check.\r
7     /// </summary>\r
8     public struct UpdateCheckInformation\r
9     {\r
10         public bool NewVersionAvailable { get; set; }\r
11         public bool ErrorOccured { get { return Error != null; } }\r
12 \r
13         /// <summary>\r
14         /// Gets information about the new build, if any. This will be null if there is no new verison.\r
15         /// </summary>\r
16         public AppcastReader BuildInformation { get; set; }\r
17 \r
18         /// <summary>\r
19         /// Gets the error that occurred, if any. This will be null if no error occured.\r
20         /// </summary>\r
21         public Exception Error { get; set; }\r
22     }\r
23 }\r