aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index f476396..ce63fbb 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -99,7 +99,7 @@ namespace QuickMedia {
void manga_get_watch_history(const char *plugin_name, BodyItems &history_items);
void youtube_get_watch_history(BodyItems &history_items);
- Json::Value load_video_history_json();
+ Json::Value load_history_json();
void set_clipboard(const std::string &str);
private:
@@ -121,6 +121,7 @@ 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);
@@ -167,6 +168,7 @@ namespace QuickMedia {
int image_index;
Path content_storage_file;
Path content_cache_dir;
+ std::string manga_id;
std::string manga_id_base64;
Json::Value content_storage_json;
bool content_storage_file_modified = false;