aboutsummaryrefslogtreecommitdiff
path: root/plugins/Manga.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-13 21:55:09 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-13 21:55:09 +0200
commitadcbb9e464bb9033e406008ea9cd209486a292aa (patch)
tree0f5ebc99adf6ed30bab266e579509f8ea886992e /plugins/Manga.hpp
parentb97c4c3ccad3c917e2073329e8d1c7b7351e96aa (diff)
Fix mangadex search/chapters listing after mangadex api update, combine same author/artist into one
Diffstat (limited to 'plugins/Manga.hpp')
-rw-r--r--plugins/Manga.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Manga.hpp b/plugins/Manga.hpp
index 020099e..74d8ed1 100644
--- a/plugins/Manga.hpp
+++ b/plugins/Manga.hpp
@@ -7,9 +7,15 @@ namespace QuickMedia {
// Return false to stop iteration
using PageCallback = std::function<bool(const std::string &url)>;
+ enum class CreatorType {
+ AUTHOR,
+ ARTIST
+ };
+
struct Creator {
std::string name;
std::string url;
+ CreatorType creator_type;
};
class MangaImagesPage : public Page {