diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-02 01:01:39 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-02 01:01:39 +0200 |
commit | d1f1683bc44ebc51b45083280adabf60d0dd27d7 (patch) | |
tree | b448da7229683f3c5822eb072ac3edba1f2490f6 /plugins | |
parent | 08740aec621a296497c8ed168672d62c3aad663e (diff) |
Make submit async, sort manga combined view by manga service name, show correct timeout, use youtube thumbnail without black bars at top and bottom
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MangaCombined.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/MangaCombined.hpp b/plugins/MangaCombined.hpp index 8d310f8..6999eb4 100644 --- a/plugins/MangaCombined.hpp +++ b/plugins/MangaCombined.hpp @@ -13,6 +13,8 @@ namespace QuickMedia { std::string logo_path; }; + using MangaCombinedSearchThread = std::pair<MangaPlugin*, AsyncTask<BodyItems>>; + class MangaCombinedSearchPage : public Page { public: MangaCombinedSearchPage(Program *program, std::vector<MangaPlugin> search_pages); @@ -24,6 +26,6 @@ namespace QuickMedia { sf::Vector2i get_thumbnail_max_size() override { return sf::Vector2i(101, 141); }; private: std::vector<MangaPlugin> search_pages; - std::vector<std::pair<MangaPlugin*, AsyncTask<BodyItems>>> search_threads; // TODO: Use async task pool + std::vector<MangaCombinedSearchThread> search_threads; // TODO: Use async task pool }; }
\ No newline at end of file |