diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-12 22:37:23 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-12 22:37:23 +0100 |
commit | 5c27b5fbaa0f1693bf4605a3e6fc57d0f066c0ec (patch) | |
tree | 5a9d3e2cccc08d671da99c45fee040f3e24fae3c /src/plugins/Peertube.cpp | |
parent | 09d8b9895c7001f991d2aab7a75e8b573edb086f (diff) |
Allow plugins to add their own tabs in ctrl+r instead of search, comments, related and channel
Diffstat (limited to 'src/plugins/Peertube.cpp')
-rw-r--r-- | src/plugins/Peertube.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/Peertube.cpp b/src/plugins/Peertube.cpp index b83daf5..2e7fec4 100644 --- a/src/plugins/Peertube.cpp +++ b/src/plugins/Peertube.cpp @@ -298,18 +298,6 @@ namespace QuickMedia { return get_page("", 0, result_items); } - std::unique_ptr<Page> PeertubeVideoPage::create_comments_page(Program*) { - return nullptr; - } - - std::unique_ptr<RelatedVideosPage> PeertubeVideoPage::create_related_videos_page(Program*) { - return nullptr; - } - - std::unique_ptr<Page> PeertubeVideoPage::create_channels_page(Program*, const std::string&) { - return nullptr; - } - static std::string get_ext_from_url(const std::string &url) { const size_t dot_index = url.rfind('.'); if(dot_index == std::string::npos) |