diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-03-10 23:25:09 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-03-10 23:27:28 +0100 |
commit | 5d29f22093fd602bc4d8863208e7812c0746e62e (patch) | |
tree | 844ee610b45880873e7afe17cb563f35e8982af5 /plugins/Page.hpp | |
parent | 1fe31ba2e244d9ae26d1f8d00f411713d2eaacf7 (diff) |
Youtube: add youtube comments to ctrl+r
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index e720f14..44526db 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -101,6 +101,7 @@ namespace QuickMedia { virtual PageTypez get_type() const override { return PageTypez::VIDEO; } virtual BodyItems get_related_media(const std::string &url, std::string &channel_url) { (void)url; (void)channel_url; return {}; } virtual std::unique_ptr<Page> create_search_page(Program *program, int &search_delay) { (void)program; (void)search_delay; return nullptr; } + virtual std::unique_ptr<Page> create_comments_page(Program *program) { (void)program; return nullptr; } // Return nullptr if the service doesn't support related videos page virtual std::unique_ptr<RelatedVideosPage> create_related_videos_page(Program *program, const std::string &video_url, const std::string &video_title) = 0; // Return nullptr if the service doesn't support channels page |