jellyfin/MediaBrowser.Controller/Sync/ISyncProvider.cs

33 lines
838 B
C#
Raw Normal View History

2015-02-28 07:35:12 -07:00
using MediaBrowser.Model.Sync;
2014-07-21 18:29:06 -07: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-30 23:24:49 -07:00
/// <summary>
/// Gets the synchronize targets.
/// </summary>
/// <param name="userId">The user identifier.</param>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncTarget> GetSyncTargets(string userId);
2015-02-28 07:35:12 -07:00
/// <summary>
/// Gets all synchronize targets.
/// </summary>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncTarget> GetAllSyncTargets();
2014-07-21 18:29:06 -07:00
}
2014-12-23 23:28:40 -07:00
public interface IHasUniqueTargetIds
{
}
2014-07-21 18:29:06 -07:00
}