21#include <com/sun/star/container/XContainer.hpp>
22#include <osl/diagnose.h>
74 const Reference< XContainer >& _rxContainer)
76 ,m_pListener(_pListener)
88 OSL_FAIL(
"Exception caught!");
106 Reference< XContainerListener > xPreventDelete(
this);
112 OSL_FAIL(
"Exception caught!");
css::uno::Reference< css::container::XContainer > m_xContainer
virtual void SAL_CALL elementRemoved(const css::container::ContainerEvent &Event) override
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent &Event) override
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent &Event) override
OContainerListener * m_pListener
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
OContainerListenerAdapter(OContainerListener *_pListener, const css::uno::Reference< css::container::XContainer > &_rxContainer)
void dispose()
dispose the object. No multiplexing anymore
virtual ~OContainerListenerAdapter() override
a non-UNO container listener
OContainerListener(::osl::Mutex &_rMutex)
virtual void _elementReplaced(const css::container::ContainerEvent &_rEvent)
void setAdapter(OContainerListenerAdapter *_pAdapter)
rtl::Reference< OContainerListenerAdapter > m_xAdapter
virtual void _elementRemoved(const css::container::ContainerEvent &_rEvent)
virtual void _disposing(const css::lang::EventObject &_rSource)
virtual ~OContainerListener()
virtual void _elementInserted(const css::container::ContainerEvent &_rEvent)
Reference< XNameAccess > m_xContainer