aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/ImageBoard.cpp
blob: b027b9e4ab0867e946ae3fae4fe646fec3a8e668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "../../plugins/ImageBoard.hpp"

namespace QuickMedia {
    void ImageBoardThreadPage::copy_to_clipboard(const BodyItem *body_item) {
        set_clipboard(body_item->get_title());
    }

    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;
    }
}