aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-05 18:17:00 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-05 18:17:04 +0200
commit657edb8eb9ab2fdef60d9c5d23a4c3093a64d859 (patch)
treea7055146e30551104480efd5f80898e21ae6aa5c /include/QuickMedia.hpp
parent7e8a2f23a40e6374ddfb551920257846021e86fa (diff)
Add manga chapter viewing
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp7
1 files changed, 6 insertions, 1 deletions
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<SearchBar> 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