From 44e66882f6e517b06522cb1e510ed9dea7574273 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 21 Nov 2020 18:20:00 +0100 Subject: Render emoji in text, do not show notification count for cache sync, lazy load 4chan board --- plugins/Fourchan.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Fourchan.hpp') diff --git a/plugins/Fourchan.hpp b/plugins/Fourchan.hpp index b9e5b74..903d534 100644 --- a/plugins/Fourchan.hpp +++ b/plugins/Fourchan.hpp @@ -14,11 +14,12 @@ namespace QuickMedia { const std::string resources_root; }; - class FourchanThreadListPage : public Page { + class FourchanThreadListPage : public LazyFetchPage { public: - FourchanThreadListPage(Program *program, std::string title, std::string board_id) : Page(program), title(std::move(title)), board_id(std::move(board_id)) {} + FourchanThreadListPage(Program *program, std::string title, std::string board_id) : LazyFetchPage(program), title(std::move(title)), board_id(std::move(board_id)) {} const char* get_title() const override { return title.c_str(); } PluginResult submit(const std::string &title, const std::string &url, std::vector &result_tabs) override; + PluginResult lazy_fetch(BodyItems &result_items) override; const std::string title; const std::string board_id; -- cgit v1.2.3