Molybden API
Loading...
Searching...
No Matches
media_events.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_MEDIA_EVENTS_HPP
6#define MOLYBDEN_MEDIA_EVENTS_HPP
7
8#include <memory>
9
10#include "molybden/base/event.hpp"
11
12namespace molybden {
13
14class Media;
15
23 std::shared_ptr<Media> media;
24};
25
33 std::shared_ptr<Media> media;
34};
35
63
64} // namespace molybden
65
66#endif // MOLYBDEN_MEDIA_EVENTS_HPP
Events allow you to be notified when something happens in Molybden.
Definition event.hpp:25
A class that contains all media events.
Definition media_events.hpp:39
Event< AudioStoppedPlaying > onAudioStoppedPlaying
Invoked when audio has been stopped playing on the web page.
Definition media_events.hpp:61
Event< AudioStartedPlaying > onAudioStartedPlaying
Invoked when audio has been started playing on the web page.
Definition media_events.hpp:50
The MediaEvents::onAudioStartedPlaying event arguments.
Definition media_events.hpp:19
std::shared_ptr< Media > media
The media instance initiated this event.
Definition media_events.hpp:23
The MediaEvents::onAudioStoppedPlaying event arguments.
Definition media_events.hpp:29
std::shared_ptr< Media > media
The media instance initiated this event.
Definition media_events.hpp:33