aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-12 13:42:04 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-12 13:42:04 +0100
commita8d597d59e347a80b109060ec8c7a88827487f57 (patch)
tree27ed53ec000739a0b6b21355e5a936ae6e55ba39 /include
parent74b98bed98aad3e70e8abe51292767ea8a7d109a (diff)
Local manga: add ctrl+r to search page to mark manga as read/unread
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 1 insertions, 1 deletions
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);