From 44f8d369c3111cfd678a3044a91aad460bf9db4a Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 2 Sep 2023 16:14:36 +0200 Subject: [PATCH] Added AddJobs to JobBoss --- Tranga/Jobs/JobBoss.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tranga/Jobs/JobBoss.cs b/Tranga/Jobs/JobBoss.cs index b12ebd3..42206f3 100644 --- a/Tranga/Jobs/JobBoss.cs +++ b/Tranga/Jobs/JobBoss.cs @@ -37,6 +37,12 @@ public class JobBoss : GlobalBase } } + public void AddJobs(IEnumerable jobsToAdd) + { + foreach (Job job in jobsToAdd) + AddJob(job); + } + public bool ContainsJobLike(Job job) { if (job is DownloadChapter dcJob)