aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ImageViewer.hpp4
-rw-r--r--include/QuickMedia.hpp5
2 files changed, 6 insertions, 3 deletions
diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp
index c1fb6ad..cb63229 100644
--- a/include/ImageViewer.hpp
+++ b/include/ImageViewer.hpp
@@ -41,7 +41,9 @@ namespace QuickMedia {
enum class ImageViewerAction {
NONE,
RETURN,
- SWITCH_TO_SINGLE_IMAGE_MODE
+ SWITCH_TO_SINGLE_IMAGE_MODE,
+ PREVIOUS_CHAPTER,
+ NEXT_CHAPTER
};
class ImageViewer {
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 1fda7a3..c1df4ed 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -134,8 +134,9 @@ namespace QuickMedia {
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 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);
- void image_continuous_page(MangaImagesPage *images_page);
+ int image_page(MangaImagesPage *images_page, Body *chapters_body, bool &continue_left_off);
+ // Returns -1 to go to previous chapter, 0 to stay on same chapter and 1 to go to next chapter
+ int image_continuous_page(MangaImagesPage *images_page);
void image_board_thread_page(ImageBoardThreadPage *thread_page, Body *thread_body);
void chat_login_page();
bool chat_page(MatrixChatPage *matrix_chat_page, RoomData *current_room);