aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Page.hpp4
-rw-r--r--include/QuickMedia.hpp7
2 files changed, 9 insertions, 2 deletions
diff --git a/include/Page.hpp b/include/Page.hpp
index ce20971..7b1fc17 100644
--- a/include/Page.hpp
+++ b/include/Page.hpp
@@ -5,6 +5,8 @@ namespace QuickMedia {
EXIT,
SEARCH_SUGGESTION,
SEARCH_RESULT,
- VIDEO_CONTENT
+ VIDEO_CONTENT,
+ EPISODE_LIST,
+ IMAGES
};
} \ No newline at end of file
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