aboutsummaryrefslogtreecommitdiff
path: root/plugins/Fourchan.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Fourchan.hpp')
-rw-r--r--plugins/Fourchan.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Fourchan.hpp b/plugins/Fourchan.hpp
index c9d649f..564271a 100644
--- a/plugins/Fourchan.hpp
+++ b/plugins/Fourchan.hpp
@@ -24,6 +24,9 @@ namespace QuickMedia {
Page get_page_after_search() const override { return Page::IMAGE_BOARD_THREAD_LIST; }
bool search_is_filter() override { return true; }
BodyItems get_related_media(const std::string &url) override;
+
+ PluginResult login(const std::string &token, const std::string &pin, std::string &response_msg);
+ const std::string& get_pass_id() const override;
private:
PluginResult get_threads_internal(const std::string &url, BodyItems &result_items);
void set_board_url(const std::string &new_url);
@@ -43,5 +46,6 @@ namespace QuickMedia {
bool running = true;
std::vector<std::string> cached_media_urls;
std::string resources_root;
+ std::string pass_id;
};
} \ No newline at end of file