Change update checks to use static file

This commit is contained in:
Eric Reed
2013-06-27 15:08:57 -04:00
parent 30eafa61a5
commit 55bbfc2dcc
7 changed files with 93 additions and 12 deletions

View File

@@ -9,12 +9,19 @@ namespace MediaBrowser.Common.Updates
public interface IPackageManager
{
/// <summary>
/// Gets all available packages.
/// Gets all available packages dynamically.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{List{PackageInfo}}.</returns>
Task<IEnumerable<PackageInfo>> GetAvailablePackages(CancellationToken cancellationToken);
/// <summary>
/// Gets all available packages from a static resource.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{List{PackageInfo}}.</returns>
Task<IEnumerable<PackageInfo>> GetAvailablePackagesStatic(CancellationToken cancellationToken);
/// <summary>
/// Installs a package.
/// </summary>