mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
1f95bcae4e
(cherry picked from commit 0feee191462dd3e5dde66e476e8b4b46a85ec4f0)
20 lines
718 B
C#
20 lines
718 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using NzbDrone.Core.Indexers;
|
|
using NzbDrone.Core.Parser.Model;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Core.Download
|
|
{
|
|
public interface IDownloadClient : IProvider
|
|
{
|
|
DownloadProtocol Protocol { get; }
|
|
Task<string> Download(RemoteBook remoteBook, IIndexer indexer);
|
|
IEnumerable<DownloadClientItem> GetItems();
|
|
DownloadClientItem GetImportItem(DownloadClientItem item, DownloadClientItem previousImportAttempt);
|
|
void RemoveItem(DownloadClientItem item, bool deleteData);
|
|
DownloadClientInfo GetStatus();
|
|
void MarkItemAsImported(DownloadClientItem downloadClientItem);
|
|
}
|
|
}
|