19 lines
688 B
C#
19 lines
688 B
C#
using System.Collections.Generic;
|
|
using NzbDrone.Core.Indexers;
|
|
using NzbDrone.Core.Parser.Model;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Core.Download
|
|
{
|
|
public interface IDownloadClient : IProvider
|
|
{
|
|
DownloadProtocol Protocol { get; }
|
|
string Download(RemoteEpisode remoteEpisode, IIndexer indexer);
|
|
IEnumerable<DownloadClientItem> GetItems();
|
|
DownloadClientItem GetImportItem(DownloadClientItem item, DownloadClientItem previousImportAttempt);
|
|
void RemoveItem(DownloadClientItem item, bool deleteData);
|
|
DownloadClientInfo GetStatus();
|
|
void MarkItemAsImported(DownloadClientItem downloadClientItem);
|
|
}
|
|
}
|