Changed prototypes for GetPublications, GetChapters and DownloadChapter to return the value instead of using out.
This commit is contained in:
parent
d016d5a8fd
commit
aa6d2d64bd
@ -5,9 +5,9 @@ namespace Tranga;
|
||||
public abstract class Connector
|
||||
{
|
||||
public abstract string name { get; }
|
||||
public abstract bool GetPublications(out Publication[] publications);
|
||||
public abstract bool GetChapters(Publication publication, out Chapter[] chapters);
|
||||
public abstract bool DownloadChapter(Chapter chapter); //where to?
|
||||
public abstract Publication[] GetPublications();
|
||||
public abstract Chapter[] GetChapters(Publication publication);
|
||||
public abstract void DownloadChapter(Chapter chapter); //where to?
|
||||
|
||||
internal class DownloadClient
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user