2
0

Changed prototypes for GetPublications, GetChapters and DownloadChapter to return the value instead of using out.

This commit is contained in:
glax 2023-05-18 15:47:48 +02:00
parent d016d5a8fd
commit aa6d2d64bd

View File

@ -5,9 +5,9 @@ namespace Tranga;
public abstract class Connector public abstract class Connector
{ {
public abstract string name { get; } public abstract string name { get; }
public abstract bool GetPublications(out Publication[] publications); public abstract Publication[] GetPublications();
public abstract bool GetChapters(Publication publication, out Chapter[] chapters); public abstract Chapter[] GetChapters(Publication publication);
public abstract bool DownloadChapter(Chapter chapter); //where to? public abstract void DownloadChapter(Chapter chapter); //where to?
internal class DownloadClient internal class DownloadClient
{ {