blob: b87e4bbb578270e1714f87b8814993e5062a9dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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()));
}
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;
}
}
|