jellyfin-server/MediaBrowser.Controller/Sync/ISyncProvider.cs

33 lines
838 B
C#
Raw Normal View History

2015-02-28 14:35:12 +00:00
using MediaBrowser.Model.Sync;
2014-07-22 01:29:06 +00: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 06:24:49 +00: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 14:35:12 +00:00
/// <summary>
/// Gets all synchronize targets.
/// </summary>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncTarget> GetAllSyncTargets();
2014-07-22 01:29:06 +00:00
}
2014-12-24 06:28:40 +00:00
public interface IHasUniqueTargetIds
{
}
2014-07-22 01:29:06 +00:00
}