kodi
|
Class handling application support for action listeners. More...
#include <ApplicationActionListeners.h>
Public Member Functions | |
CApplicationActionListeners (CCriticalSection §) | |
void | RegisterActionListener (KODI::ACTION::IActionListener *listener) |
Register an action listener. More... | |
void | UnregisterActionListener (KODI::ACTION::IActionListener *listener) |
Unregister an action listener. More... | |
Protected Member Functions | |
bool | NotifyActionListeners (const CAction &action) const |
Delegates the action to all registered action handlers. More... | |
Protected Attributes | |
std::vector< KODI::ACTION::IActionListener * > | m_actionListeners |
CCriticalSection & | m_critSection |
Friends | |
class | CApplication |
Class handling application support for action listeners.
|
protected |
Delegates the action to all registered action handlers.
action | The action |
void CApplicationActionListeners::RegisterActionListener | ( | KODI::ACTION::IActionListener * | listener | ) |
Register an action listener.
listener | The listener to register |
void CApplicationActionListeners::UnregisterActionListener | ( | KODI::ACTION::IActionListener * | listener | ) |
Unregister an action listener.
listener | The listener to unregister |