diff options
Diffstat (limited to 'plugins/Mangadex.hpp')
-rw-r--r-- | plugins/Mangadex.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Mangadex.hpp b/plugins/Mangadex.hpp index 5feb7f8..aaca18d 100644 --- a/plugins/Mangadex.hpp +++ b/plugins/Mangadex.hpp @@ -22,9 +22,12 @@ namespace QuickMedia { private: // Caches url. If the same url is requested multiple times then the cache is used ImageResult get_image_urls_for_chapter(const std::string &url); + bool get_rememberme_token(std::string &rememberme_token); + bool save_mangadex_cookies(const std::string &url, const std::string &cookie_filepath); private: std::string last_chapter_url; std::vector<std::string> last_chapter_image_urls; std::mutex image_urls_mutex; + std::optional<std::string> rememberme_token; }; }
\ No newline at end of file |