blob: 2538178664b384d6afab247447804b1fc3e51a42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
namespace Handbrake.Functions
{
/// <summary>
/// Provides information about an update check.
/// </summary>
public struct UpdateCheckInformation
{
public bool NewVersionAvailable { get; set; }
public bool ErrorOccured { get { return Error != null; } }
/// <summary>
/// Gets information about the new build, if any. This will be null if there is no new verison.
/// </summary>
public AppcastReader BuildInformation { get; set; }
/// <summary>
/// Gets the error that occurred, if any. This will be null if no error occured.
/// </summary>
public Exception Error { get; set; }
}
}
|