From 99915ba9ec15a5018be4e7793c1482a032c3ca14 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 22 Jun 2020 21:50:48 +0200 Subject: Support installation resources path --- plugins/Fourchan.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/Fourchan.hpp') diff --git a/plugins/Fourchan.hpp b/plugins/Fourchan.hpp index 33c6579..c9d649f 100644 --- a/plugins/Fourchan.hpp +++ b/plugins/Fourchan.hpp @@ -6,9 +6,11 @@ #include namespace QuickMedia { + class Program; + class Fourchan : public ImageBoard { public: - Fourchan(); + Fourchan(const std::string &resources_root); ~Fourchan() override; PluginResult get_front_page(BodyItems &result_items) override; SearchResult search(const std::string &url, BodyItems &result_items) override; @@ -40,5 +42,6 @@ namespace QuickMedia { bool thread_list_cached = false; bool running = true; std::vector cached_media_urls; + std::string resources_root; }; } \ No newline at end of file -- cgit v1.2.3