sync updates

This commit is contained in:
Luke Pulverenti
2015-02-07 01:02:42 -05:00
parent e6e5d1a794
commit cf0875ef6c
10 changed files with 11 additions and 73 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using MediaBrowser.Model.Sync;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Sync
{
@@ -13,7 +14,8 @@ namespace MediaBrowser.Controller.Sync
/// <summary>
/// Gets the synchronize targets.
/// </summary>
/// <param name="userId">The user identifier.</param>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncAccount> GetSyncAccounts();
IEnumerable<SyncTarget> GetSyncTargets(string userId);
}
}

View File

@@ -12,12 +12,6 @@ namespace MediaBrowser.Controller.Sync
/// <value>The name.</value>
string Name { get; }
/// <summary>
/// Gets the synchronize targets.
/// </summary>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncTarget> GetSyncTargets();
/// <summary>
/// Gets the synchronize targets.
/// </summary>

View File

@@ -1,28 +0,0 @@
using System.Collections.Generic;
namespace MediaBrowser.Controller.Sync
{
public class SyncAccount
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public List<string> UserIds { get; set; }
public SyncAccount()
{
UserIds = new List<string>();
}
}
}