diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-16 21:13:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-16 21:13:24 +0200 |
commit | 5cc735b22570f1667d62958e59ce4910b529f5af (patch) | |
tree | 75128a8926a48a612bc892d266032bd7afd9c2cf /plugins/HotExamples.hpp | |
parent | de4825e548b990493b372237cbef9a790bf114c4 (diff) |
Add MyAnimeList (wip)
Diffstat (limited to 'plugins/HotExamples.hpp')
-rw-r--r-- | plugins/HotExamples.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Tab> &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<Tab>&) override { return PluginResult::OK; } - bool submit_is_async() override { return false; } + bool submit_is_async() const override { return false; } private: std::string title; }; |