aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 044759a..9e844b3 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -165,6 +165,7 @@ namespace QuickMedia {
virtual void set_url(std::string new_url) { url = std::move(new_url); }
std::string get_url() { return url; }
virtual std::string get_download_url(int max_height) { (void)max_height; return url; }
+ virtual std::string get_download_url_for_clipboard(int max_height) { return get_download_url(max_height); }
// Returns empty string for no timestamp or if the video doesn't support timestamps.
// Timestamp is in seconds.
virtual std::string get_url_timestamp() { return ""; }