diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Storage.hpp | 1 | ||||
-rw-r--r-- | include/VideoPlayer.hpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp index 39af8e6..601336a 100644 --- a/include/Storage.hpp +++ b/include/Storage.hpp @@ -17,6 +17,7 @@ namespace QuickMedia { Path get_home_dir(); Path get_storage_dir(); Path get_cache_dir(); + int get_cookies_filepath(Path &path, const std::string &plugin_name); int create_directory_recursive(const Path &path); FileType get_file_type(const Path &path); int file_get_content(const Path &path, std::string &result); diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index c5d9cfe..9501e26 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -42,7 +42,7 @@ namespace QuickMedia { VideoPlayer& operator=(const VideoPlayer&) = delete; // @path can also be an url if youtube-dl is installed and accessible to mpv - Error load_video(const char *path, sf::WindowHandle parent_window); + Error load_video(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name); // Should be called every update frame Error update(); @@ -63,7 +63,7 @@ namespace QuickMedia { Error set_property(const std::string &property_name, const Json::Value &value); Error get_property(const std::string &property_name, Json::Value *result, Json::ValueType result_type); Error send_command(const char *cmd, size_t size); - Error launch_video_process(const char *path, sf::WindowHandle parent_window); + Error launch_video_process(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name); VideoPlayer::Error read_ipc_func(); private: bool use_tor; |