diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/VideoPlayer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index feede37..981c114 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -8,7 +8,7 @@ #include <X11/Xlib.h> namespace QuickMedia { - using EventCallbackFunc = std::function<void(const char *event_name)>; + using EventCallbackFunc = std::function<void(const char *event_name, const std::vector<std::string> &args)>; using VideoPlayerWindowCreateCallback = std::function<void(mgl::WindowHandle window)>; // Currently this video player launches mpv and embeds it into the QuickMedia window @@ -65,6 +65,7 @@ namespace QuickMedia { // Returns time in seconds Error get_time_in_file(double *result); Error add_subtitle(const std::string &url, const std::string &title, const std::string &lang); + Error cycle_fullscreen(); int exit_status; private: |