From d1f1683bc44ebc51b45083280adabf60d0dd27d7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 2 May 2021 01:01:39 +0200 Subject: Make submit async, sort manga combined view by manga service name, show correct timeout, use youtube thumbnail without black bars at top and bottom --- plugins/MangaCombined.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/MangaCombined.hpp') 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>; + class MangaCombinedSearchPage : public Page { public: MangaCombinedSearchPage(Program *program, std::vector search_pages); @@ -24,6 +26,6 @@ namespace QuickMedia { sf::Vector2i get_thumbnail_max_size() override { return sf::Vector2i(101, 141); }; private: std::vector search_pages; - std::vector>> search_threads; // TODO: Use async task pool + std::vector search_threads; // TODO: Use async task pool }; } \ No newline at end of file -- cgit v1.2.3