From 5cc735b22570f1667d62958e59ce4910b529f5af Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 16 Aug 2021 21:13:24 +0200 Subject: Add MyAnimeList (wip) --- plugins/HotExamples.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HotExamples.hpp') diff --git a/plugins/HotExamples.hpp b/plugins/HotExamples.hpp index 154f1ab..73bc150 100644 --- a/plugins/HotExamples.hpp +++ b/plugins/HotExamples.hpp @@ -10,7 +10,7 @@ namespace QuickMedia { HotExamplesLanguageSelectPage(Program *program) : Page(program) {} const char* get_title() const override { return "Select language"; } PluginResult submit(const std::string &title, const std::string &url, std::vector &result_tabs) override; - bool submit_is_async() override { return false; } + bool submit_is_async() const override { return false; } }; class HotExamplesSearchPage : public Page { @@ -29,7 +29,7 @@ namespace QuickMedia { HotExamplesCodeExamplesPage(Program *program, std::string title) : Page(program), title(std::move(title)) {} const char* get_title() const override { return title.c_str(); } PluginResult submit(const std::string&, const std::string&, std::vector&) override { return PluginResult::OK; } - bool submit_is_async() override { return false; } + bool submit_is_async() const override { return false; } private: std::string title; }; -- cgit v1.2.3