From 657edb8eb9ab2fdef60d9c5d23a4c3093a64d859 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2019 18:17:00 +0200 Subject: Add manga chapter viewing --- include/QuickMedia.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/QuickMedia.hpp') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index d5839c7..e5f4f2d 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -17,10 +17,12 @@ namespace QuickMedia { ~Program(); void run(); private: - void base_event_handler(sf::Event &event); + void base_event_handler(sf::Event &event, Page previous_page); void search_suggestion_page(); void search_result_page(); void video_content_page(); + void episode_list_page(); + void image_page(); private: sf::RenderWindow window; sf::Vector2f window_size; @@ -29,6 +31,9 @@ namespace QuickMedia { Plugin *current_plugin; std::unique_ptr search_bar; Page current_page; + // TODO: Combine these std::string video_url; + std::string images_url; + int image_index; }; } \ No newline at end of file -- cgit v1.2.3