From a8d597d59e347a80b109060ec8c7a88827487f57 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Feb 2022 13:42:04 +0100 Subject: Local manga: add ctrl+r to search page to mark manga as read/unread --- include/QuickMedia.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/QuickMedia.hpp') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index c3f06de..6856f05 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -99,6 +99,7 @@ namespace QuickMedia { const char* get_plugin_name() const; void manga_get_watch_history(const char *plugin_name, BodyItems &history_items, bool local_thumbnail); void youtube_get_watch_history(BodyItems &history_items); + void update_manga_history(const std::string &manga_id, const std::string &thumbnail_url); Json::Value load_history_json(); @@ -122,7 +123,6 @@ namespace QuickMedia { bool video_download_if_non_streamable(std::string &video_url, std::string &audio_url, bool &is_audio_only, bool &has_embedded_audio, PageType previous_page); int video_get_max_height(); void video_content_page(Page *parent_page, VideoPage *video_page, std::string video_title, bool download_if_streaming_fails, Body *parent_body, int play_index, int *parent_body_page = nullptr, const std::string &parent_page_search = ""); - void update_manga_history(const std::string &manga_id, const std::string &thumbnail_url); void save_manga_progress(MangaImagesPage *images_page, Json::Value &json_chapters, Json::Value &json_chapter, int &latest_read); // Returns -1 to go to previous chapter, 0 to stay on same chapter and 1 to go to next chapter int image_page(MangaImagesPage *images_page, Body *chapters_body); -- cgit v1.2.3