|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <EventStreamDetail.h>
Public Types | |
| using | EventHandler = std::function<void(const Event&)> |
Public Member Functions | |
| CSubscription (Owner *owner, const EventHandler &eventHandler) | |
| void | HandleEvent (const Event &event) override |
| void | Cancel () override |
| bool | IsOwnedBy (void *obj) override |
Public Member Functions inherited from detail::ISubscription< Event > | |
| virtual | ~ISubscription ()=default |
| using detail::CSubscription< Event, Owner >::EventHandler = std::function<void(const Event&)> |
| detail::CSubscription< Event, Owner >::CSubscription | ( | Owner * | owner, |
| const EventHandler & | eventHandler ) |
|
overridevirtual |
Implements detail::ISubscription< Event >.
|
overridevirtual |
Implements detail::ISubscription< Event >.
|
overridevirtual |
Implements detail::ISubscription< Event >.