Tranga-Website/Connector.cs
glax 4b0a1c0a9d Added Structs Chapter and Publication
Added TaskManager and TrangaTask

TaskManager manages all TrangaTasks and starts Tasks when necessary.
Execution is necessary when time elapsed between last execution and now is greater than TrangaTask.reoccurrence.
2023-05-17 23:23:01 +02:00

9 lines
330 B
C#

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?
}