aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-17 09:47:45 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-17 09:59:29 +0100
commit453eac7f1f5ef70390ec51087fc1f190811a7507 (patch)
tree21a32ef6de9a3d7c29562484104b56c12518a6f0 /plugins/Page.hpp
parentfc49d40c0d2f6edbbe9dde1f1b53d6a17e9d9f7d (diff)
Replace sfml with mgl
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index c07679d..b9f220d 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -74,12 +74,14 @@ namespace QuickMedia {
virtual void on_navigate_to_page(Body *body) { (void)body; }
virtual void cancel_operation() {}
- virtual void copy_to_clipboard(const BodyItem *body_item) const;
+ virtual void copy_to_clipboard(const BodyItem *body_item);
std::unique_ptr<Body> create_body(bool plain_text_list = false, bool prefer_card_view = false);
std::unique_ptr<SearchBar> create_search_bar(const std::string &placeholder_text, int search_delay);
bool load_manga_content_storage(const char *service_name, const std::string &manga_title, const std::string &manga_url, const std::string &manga_id);
+
+ void set_clipboard(const std::string &str);
Program *program;
std::shared_ptr<BodyItem> submit_body_item; // TODO: Remove this