aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-03-26 16:45:41 +0100
committerdec05eba <dec05eba@protonmail.com>2021-03-26 16:45:41 +0100
commitda827778f8c5d2f0cfc56b297099ba58454c38ed (patch)
tree9e17efe65eca94a23374aa8ea00da0da50d45bfe /plugins/Page.hpp
parentd96e65b2abf2a569a4be4c160fa30a504abdb2fc (diff)
Add soundcloud
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 44526db..f1ef893 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -63,6 +63,7 @@ namespace QuickMedia {
virtual sf::Vector2i get_thumbnail_max_size() { return sf::Vector2i(480, 360); };
Program *program;
+ std::shared_ptr<BodyItem> submit_body_item; // TODO: Remove this
};
enum class TrackResult {
@@ -106,5 +107,6 @@ namespace QuickMedia {
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
virtual std::unique_ptr<LazyFetchPage> create_channels_page(Program *program, const std::string &channel_url) = 0;
+ virtual std::string get_url() = 0;
};
} \ No newline at end of file