40 lines
979 B
C#
40 lines
979 B
C#
using MediaBrowser.Common;
|
|
using MediaBrowser.Controller.Sync;
|
|
using MediaBrowser.Model.Dlna;
|
|
using MediaBrowser.Model.Sync;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace MediaBrowser.Server.Implementations.Sync
|
|
{
|
|
public class CloudSyncProvider : ISyncProvider
|
|
{
|
|
private ICloudSyncProvider[] _providers = {};
|
|
|
|
public CloudSyncProvider(IApplicationHost appHost)
|
|
{
|
|
_providers = appHost.GetExports<ICloudSyncProvider>().ToArray();
|
|
}
|
|
|
|
public IEnumerable<SyncTarget> GetSyncTargets()
|
|
{
|
|
return new List<SyncTarget>();
|
|
}
|
|
|
|
public IEnumerable<SyncTarget> GetSyncTargets(string userId)
|
|
{
|
|
return new List<SyncTarget>();
|
|
}
|
|
|
|
public DeviceProfile GetDeviceProfile(SyncTarget target)
|
|
{
|
|
return new DeviceProfile();
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get { return "Cloud Sync"; }
|
|
}
|
|
}
|
|
}
|