glax
4b0a1c0a9d
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.
9 lines
330 B
C#
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?
|
|
} |