LibreOffice Module vcl (master) 1
|
#include <vcleventlisteners.hxx>
Public Member Functions | |
void | Call (VclSimpleEvent &rEvent) const |
void | addListener (const Link< VclSimpleEvent &, void > &rListener) |
void | removeListener (const Link< VclSimpleEvent &, void > &rListener) |
Private Attributes | |
std::vector< Link< VclSimpleEvent &, void > > | m_aListeners |
bool | m_updated = false |
Definition at line 24 of file vcleventlisteners.hxx.
void VclEventListeners::addListener | ( | const Link< VclSimpleEvent &, void > & | rListener | ) |
Definition at line 62 of file vclevent.cxx.
References m_aListeners, and m_updated.
Referenced by Application::AddEventListener().
void VclEventListeners::Call | ( | VclSimpleEvent & | rEvent | ) | const |
Definition at line 26 of file vclevent.cxx.
References Link< typename Arg, typename Ret >::Call(), m_aListeners, m_updated, and vcl::Window::mpWindowImpl.
Referenced by Application::ImplCallEventListeners(), and Application::ImplCallEventListenersApplicationDataChanged().
void VclEventListeners::removeListener | ( | const Link< VclSimpleEvent &, void > & | rListener | ) |
Definition at line 68 of file vclevent.cxx.
References m_aListeners, and m_updated.
Referenced by Application::RemoveEventListener().
|
private |
Definition at line 32 of file vcleventlisteners.hxx.
Referenced by addListener(), Call(), and removeListener().
|
mutableprivate |
Definition at line 33 of file vcleventlisteners.hxx.
Referenced by addListener(), Call(), and removeListener().