You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using MediaBrowser.Model.Sync;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Sync
|
|
|
|
|
{
|
|
|
|
|
public interface ISyncProvider
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the synchronize targets.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="userId">The user identifier.</param>
|
|
|
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
|
|
|
|
List<SyncTarget> GetSyncTargets(string userId);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets all synchronize targets.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
|
|
|
|
List<SyncTarget> GetAllSyncTargets();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface IHasUniqueTargetIds
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|