32 DisplayConnectionDispatch::DisplayConnectionDispatch()
37 DisplayConnectionDispatch::~DisplayConnectionDispatch()
40 void DisplayConnectionDispatch::start()
47 void DisplayConnectionDispatch::terminate()
61 std::vector< css::uno::Reference< XEventHandler > > aLocalList(
m_aHandlers );
62 for (
auto const& elem : aLocalList)
63 elem->handleEvent( aEvent );
66 void SAL_CALL DisplayConnectionDispatch::addEventHandler(
const Any& ,
const css::uno::Reference< XEventHandler >& handler, sal_Int32 )
73 void SAL_CALL DisplayConnectionDispatch::removeEventHandler(
const Any& ,
const css::uno::Reference< XEventHandler >& handler )
80 void SAL_CALL DisplayConnectionDispatch::addErrorHandler(
const css::uno::Reference< XEventHandler >& )
84 void SAL_CALL DisplayConnectionDispatch::removeErrorHandler(
const css::uno::Reference< XEventHandler >& )
88 Any SAL_CALL DisplayConnectionDispatch::getIdentifier()
90 return Any(m_ConnectionIdentifier);
93 bool DisplayConnectionDispatch::dispatchEvent(
void const * pData,
int nBytes )
100 ::std::vector< css::uno::Reference< XEventHandler > > handlers;
105 for (
auto const& handle : handlers)
106 if( handle->handleEvent( aEvent ) )
comphelper::OInterfaceContainerHelper2 m_aHandlers
A helper class that calls Application::ReleaseSolarMutex() in its constructor and restores the mutex ...
ImplSVData * ImplGetSVData()
Sequence< sal_Int8 > aSeq
virtual OUString GetConnectionIdentifier()=0
#define DBG_TESTSOLARMUTEX()
void SetEventCallback(rtl::Reference< vcl::DisplayConnectionDispatch > const &pInstance)