diff options
Diffstat (limited to 'plugins/Saucenao.hpp')
-rw-r--r-- | plugins/Saucenao.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Saucenao.hpp b/plugins/Saucenao.hpp index a5aadf9..297dde3 100644 --- a/plugins/Saucenao.hpp +++ b/plugins/Saucenao.hpp @@ -5,7 +5,7 @@ namespace QuickMedia { class SaucenaoPage : public LazyFetchPage { public: - SaucenaoPage(Program *program, const std::string &upload_filepath) : LazyFetchPage(program), upload_filepath(upload_filepath) {} + SaucenaoPage(Program *program, const std::string &path, bool is_local) : LazyFetchPage(program), path(path), is_local(is_local) {} const char* get_title() const override { return "SauceNAO"; } PluginResult submit(const std::string&, const std::string&, std::vector<Tab>&) override { return PluginResult::OK; @@ -13,6 +13,7 @@ namespace QuickMedia { PluginResult lazy_fetch(BodyItems &result_items) override; bool is_single_page() const override { return true; } private: - std::string upload_filepath; + std::string path; + bool is_local; }; }
\ No newline at end of file |