From 1be647662eb19af2e8fe27a500ac3705c3109045 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 11 Jul 2020 07:57:49 +0200 Subject: Add youtube watch history --- include/Path.hpp | 5 +++++ include/QuickMedia.hpp | 3 +++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/Path.hpp b/include/Path.hpp index 351fd5d..bd978bc 100644 --- a/include/Path.hpp +++ b/include/Path.hpp @@ -21,6 +21,11 @@ namespace QuickMedia { return *this; } + Path& append(const std::string &str) { + data += str; + return *this; + } + std::string data; }; } \ No newline at end of file diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 584903a..9bf2d0f 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -56,6 +56,9 @@ namespace QuickMedia { // Returns Page::EXIT if empty Page pop_page_stack(); + + void plugin_get_watch_history(Plugin *plugin, BodyItems &history_items); + Json::Value load_video_history_json(Plugin *plugin); private: Display *disp; sf::RenderWindow window; -- cgit v1.2.3