From b84e8b4c8fdab76d85b184600b234923c3c3526d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 13 Oct 2022 01:15:34 +0200 Subject: Remove myanimelist (unused code) --- plugins/MyAnimeList.hpp | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 plugins/MyAnimeList.hpp (limited to 'plugins/MyAnimeList.hpp') diff --git a/plugins/MyAnimeList.hpp b/plugins/MyAnimeList.hpp deleted file mode 100644 index 8f35043..0000000 --- a/plugins/MyAnimeList.hpp +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -#include "Page.hpp" - -namespace QuickMedia { - class MyAnimeListSearchPage : public Page { - public: - MyAnimeListSearchPage(Program *program) : Page(program) {} - const char* get_title() const override { return "Search for anime or manga"; } - bool search_is_filter() override { return false; } - bool submit_is_async() const override { return false; } - SearchResult search(const std::string &str, BodyItems &result_items) override; - PluginResult submit(const SubmitArgs &args, std::vector &result_tabs) override; - }; - - class MyAnimeListDetailsPage : public LazyFetchPage { - public: - MyAnimeListDetailsPage(Program *program, std::string url) : LazyFetchPage(program), url(std::move(url)) {} - const char* get_title() const override { return "Details"; } - bool submit_is_async() const override { return false; } - PluginResult submit(const SubmitArgs &args, std::vector &result_tabs) override; - PluginResult lazy_fetch(BodyItems &result_items) override; - private: - std::string url; - }; - - class MyAnimeListRecommendationsPage : public LazyFetchPage { - public: - MyAnimeListRecommendationsPage(Program *program, std::string url) : LazyFetchPage(program), url(std::move(url)) {} - const char* get_title() const override { return "Recommendations"; } - bool submit_is_async() const override { return false; } - PluginResult submit(const SubmitArgs &args, std::vector &result_tabs) override; - PluginResult lazy_fetch(BodyItems &result_items) override; - private: - std::string url; - }; -} \ No newline at end of file -- cgit v1.2.3