aboutsummaryrefslogtreecommitdiff
path: root/plugins/NyaaSi.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-16 21:13:24 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-16 21:13:24 +0200
commit5cc735b22570f1667d62958e59ce4910b529f5af (patch)
tree75128a8926a48a612bc892d266032bd7afd9c2cf /plugins/NyaaSi.hpp
parentde4825e548b990493b372237cbef9a790bf114c4 (diff)
Add MyAnimeList (wip)
Diffstat (limited to 'plugins/NyaaSi.hpp')
-rw-r--r--plugins/NyaaSi.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NyaaSi.hpp b/plugins/NyaaSi.hpp
index 6f161ac..f113544 100644
--- a/plugins/NyaaSi.hpp
+++ b/plugins/NyaaSi.hpp
@@ -54,7 +54,7 @@ namespace QuickMedia {
NyaaSiSortOrderPage(Program *program, Body *body, NyaaSiSearchPage *search_page) : Page(program), body(body), search_page(search_page) {}
const char* get_title() const override { return "Sort order"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
private:
Body *body;
NyaaSiSearchPage *search_page;
@@ -65,6 +65,6 @@ namespace QuickMedia {
NyaaSiTorrentPage(Program *program) : Page(program) {}
const char* get_title() const override { return "Torrent"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
};
} \ No newline at end of file