32DisplayConnectionDispatch::DisplayConnectionDispatch()
61 std::vector< css::uno::Reference< XEventHandler > > aLocalList(
m_aHandlers );
62 for (
auto const& elem : aLocalList)
63 elem->handleEvent(
aEvent );
100 ::std::vector< css::uno::Reference< XEventHandler > > handlers;
102 std::scoped_lock aGuard(
m_aMutex );
105 for (
auto const& handle : handlers)
106 if( handle->handleEvent(
aEvent ) )
void SetEventCallback(rtl::Reference< vcl::DisplayConnectionDispatch > const &pInstance)
virtual OUString GetConnectionIdentifier()=0
A helper class that calls Application::ReleaseSolarMutex() in its constructor and restores the mutex ...
~DisplayConnectionDispatch() override
virtual void SAL_CALL addErrorHandler(const css::uno::Reference< css::awt::XEventHandler > &handler) override
virtual void SAL_CALL addEventHandler(const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler, sal_Int32 eventMask) override
virtual css::uno::Any SAL_CALL getIdentifier() override
virtual void SAL_CALL removeEventHandler(const css::uno::Any &window, const css::uno::Reference< css::awt::XEventHandler > &handler) override
bool dispatchEvent(void const *pData, int nBytes)
::std::vector< css::uno::Reference< css::awt::XEventHandler > > m_aHandlers
OUString m_ConnectionIdentifier
virtual void SAL_CALL removeErrorHandler(const css::uno::Reference< css::awt::XEventHandler > &handler) override
#define DBG_TESTSOLARMUTEX()
Sequence< sal_Int8 > aSeq
std::unique_ptr< sal_Int32[]> pData
ImplSVData * ImplGetSVData()