aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Path.hpp5
-rw-r--r--include/QuickMedia.hpp3
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;