2015-02-28 15:35:12 +01:00
|
|
|
|
using MediaBrowser.Model.Sync;
|
2014-07-22 03:29:06 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Sync
|
|
|
|
|
{
|
|
|
|
|
public interface ISyncProvider
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
2014-12-31 07:24:49 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the synchronize targets.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="userId">The user identifier.</param>
|
|
|
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
2017-08-19 21:43:35 +02:00
|
|
|
|
List<SyncTarget> GetSyncTargets(string userId);
|
2015-02-28 15:35:12 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets all synchronize targets.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>IEnumerable<SyncTarget>.</returns>
|
2017-08-19 21:43:35 +02:00
|
|
|
|
List<SyncTarget> GetAllSyncTargets();
|
2014-07-22 03:29:06 +02:00
|
|
|
|
}
|
2014-12-24 07:28:40 +01:00
|
|
|
|
|
|
|
|
|
public interface IHasUniqueTargetIds
|
|
|
|
|
{
|
2017-07-15 22:19:58 +02:00
|
|
|
|
|
2014-12-24 07:28:40 +01:00
|
|
|
|
}
|
2014-07-22 03:29:06 +02:00
|
|
|
|
}
|