LibreOffice Module linguistic (master) 1
|
Public Member Functions | |
DicEvtListenerHelper (uno::Reference< XDictionaryList > xDicList) | |
virtual | ~DicEvtListenerHelper () override |
virtual void SAL_CALL | disposing (const EventObject &rSource) override |
virtual void SAL_CALL | processDictionaryEvent (const DictionaryEvent &rDicEvent) override |
void | DisposeAndClear (const EventObject &rEvtObj) |
bool | AddDicListEvtListener (const uno::Reference< XDictionaryListEventListener > &rxListener) |
bool | RemoveDicListEvtListener (const uno::Reference< XDictionaryListEventListener > &rxListener) |
sal_Int16 | BeginCollectEvents () |
sal_Int16 | EndCollectEvents () |
sal_Int16 | FlushEvents () |
void | ClearEvents () |
Private Attributes | |
comphelper::OInterfaceContainerHelper3< XDictionaryListEventListener > | aDicListEvtListeners |
uno::Reference< XDictionaryList > | xMyDicList |
sal_Int16 | nCondensedEvt |
sal_Int16 | nNumCollectEvtListeners |
Definition at line 63 of file dlistimp.cxx.
|
explicit |
Definition at line 101 of file dlistimp.cxx.
|
overridevirtual |
Definition at line 110 of file dlistimp.cxx.
References aDicListEvtListeners, DBG_ASSERT, and comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength().
bool DicEvtListenerHelper::AddDicListEvtListener | ( | const uno::Reference< XDictionaryListEventListener > & | rxListener | ) |
Definition at line 195 of file dlistimp.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), aDicListEvtListeners, DBG_ASSERT, comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), and nCount.
|
inline |
Definition at line 94 of file dlistimp.cxx.
References nNumCollectEvtListeners.
|
inline |
Definition at line 97 of file dlistimp.cxx.
References nCondensedEvt.
void DicEvtListenerHelper::DisposeAndClear | ( | const EventObject & | rEvtObj | ) |
Definition at line 117 of file dlistimp.cxx.
References aDicListEvtListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear().
|
overridevirtual |
Definition at line 123 of file dlistimp.cxx.
References aDicListEvtListeners, linguistic::GetLinguMutex(), comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface(), and xMyDicList.
sal_Int16 DicEvtListenerHelper::EndCollectEvents | ( | ) |
Definition at line 213 of file dlistimp.cxx.
References DBG_ASSERT, FlushEvents(), and nNumCollectEvtListeners.
sal_Int16 DicEvtListenerHelper::FlushEvents | ( | ) |
Definition at line 226 of file dlistimp.cxx.
References aDicListEvtListeners, aEvent, nCondensedEvt, nNumCollectEvtListeners, comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach(), and xMyDicList.
Referenced by EndCollectEvents(), and processDictionaryEvent().
|
overridevirtual |
Definition at line 144 of file dlistimp.cxx.
References DBG_ASSERT, FlushEvents(), linguistic::GetLinguMutex(), nCondensedEvt, and nNumCollectEvtListeners.
bool DicEvtListenerHelper::RemoveDicListEvtListener | ( | const uno::Reference< XDictionaryListEventListener > & | rxListener | ) |
Definition at line 204 of file dlistimp.cxx.
References aDicListEvtListeners, DBG_ASSERT, comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), nCount, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
private |
Definition at line 69 of file dlistimp.cxx.
Referenced by AddDicListEvtListener(), DisposeAndClear(), disposing(), FlushEvents(), RemoveDicListEvtListener(), and ~DicEvtListenerHelper().
|
private |
Definition at line 72 of file dlistimp.cxx.
Referenced by ClearEvents(), FlushEvents(), and processDictionaryEvent().
|
private |
Definition at line 73 of file dlistimp.cxx.
Referenced by BeginCollectEvents(), EndCollectEvents(), FlushEvents(), and processDictionaryEvent().
|
private |
Definition at line 70 of file dlistimp.cxx.
Referenced by disposing(), and FlushEvents().