mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibVideo+VideoPlayer: Convert playback event handler to callbacks
To pass events from LibVideo's PlaybackManager to interested parties, we currently dispatch Core::Event objects that outside callers listen for. Dispatching events in this manner rely on a Core::EventLoop. In order to use PlaybackManager from LibWeb, change this mechanism to instead use a set of callbacks to inform callers of events.
This commit is contained in:
parent
0f2b863c01
commit
3591a13e85
4 changed files with 83 additions and 114 deletions
|
@ -51,8 +51,6 @@ private:
|
|||
|
||||
void toggle_fullscreen();
|
||||
|
||||
void event(Core::Event&) override;
|
||||
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
DeprecatedString m_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue