aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-13 01:15:34 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-13 01:15:34 +0200
commitb84e8b4c8fdab76d85b184600b234923c3c3526d (patch)
treed2622e5db9440c1cbfead5dffb6df08bbc6bc760 /plugins
parente4d89350e2f239a833f7f337dd858570e7b52712 (diff)
Remove myanimelist (unused code)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MyAnimeList.hpp37
1 files changed, 0 insertions, 37 deletions
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<Tab> &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<Tab> &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<Tab> &result_tabs) override;
- PluginResult lazy_fetch(BodyItems &result_items) override;
- private:
- std::string url;
- };
-} \ No newline at end of file