diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-11 07:57:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-11 07:57:49 +0200 |
commit | 1be647662eb19af2e8fe27a500ac3705c3109045 (patch) | |
tree | 76f31687c378647439163f27e9d1b650307b28ae /include | |
parent | 2e156d80e4e3d379849bb1e127e4c69a8f34cea4 (diff) |
Add youtube watch history
Diffstat (limited to 'include')
-rw-r--r-- | include/Path.hpp | 5 | ||||
-rw-r--r-- | include/QuickMedia.hpp | 3 |
2 files changed, 8 insertions, 0 deletions
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; |