diff options
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 6864a5d..20d6000 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -71,6 +71,8 @@ namespace QuickMedia { // |selected_item| may be nullptr. virtual std::shared_ptr<BodyItem> get_bookmark_body_item(BodyItem *selected_item) { (void)selected_item; return nullptr; } virtual bool is_bookmark_page() const { return false; } + // |selected_item| may be nullptr. + virtual void toggle_read(BodyItem *selected_item) { (void)selected_item; } virtual bool is_lazy_fetch_page() const { return false; } // Note: If submit is done without any selection, then the search term is sent as the |title| and |url|. Submit will only be sent if the input text is not empty or if an item is selected virtual bool allow_submit_no_selection() const { return false; } |