blob: f813068030016240666e75f395a2e3270b9602d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "../../plugins/ImageBoard.hpp"
#include <SFML/Window/Clipboard.hpp>
namespace QuickMedia {
void ImageBoardThreadPage::copy_to_clipboard(const BodyItem *body_item) const {
sf::Clipboard::setString(sf::String::fromUtf8(body_item->get_description().begin(), body_item->get_description().end()));
}
std::unique_ptr<RelatedVideosPage> ImageBoardThreadPage::create_related_videos_page(Program*) {
return nullptr;
}
PluginResult ImageBoardThreadPage::login(const std::string &token, const std::string &pin, std::string &response_msg) {
(void)token;
(void)pin;
response_msg = "Login is not supported on this image board";
return PluginResult::ERR;
}
const std::string& ImageBoardThreadPage::get_pass_id() {
static std::string empty_str;
return empty_str;
}
}
|