20#ifndef INCLUDED_COMPHELPER_SELECTIONMULTIPLEX_HXX
21#define INCLUDED_COMPHELPER_SELECTIONMULTIPLEX_HXX
23#include <com/sun/star/view/XSelectionChangeListener.hpp>
24#include <com/sun/star/lang/EventObject.hpp>
50 virtual void _disposing(
const css::lang::EventObject& _rSource);
60 css::uno::Reference< css::view::XSelectionSupplier>
m_xSet;
72 virtual void SAL_CALL disposing(
const css::lang::EventObject& Source )
override;
82 sal_Int32
locked()
const {
return m_nLockCount; }
simple listener adapter for selections
virtual void _selectionChanged(const css::lang::EventObject &aEvent)=0
multiplexer for selection changes
sal_Int32 locked() const
get the lock count
OSelectionChangeListener * m_pListener
css::uno::Reference< css::view::XSelectionSupplier > m_xSet
OSelectionChangeMultiplexer(const OSelectionChangeMultiplexer &)=delete
OSelectionChangeMultiplexer(OSelectionChangeListener *_pListener, const css::uno::Reference< css::view::XSelectionSupplier > &_rxSet)
OSelectionChangeMultiplexer & operator=(const OSelectionChangeMultiplexer &)=delete
#define COMPHELPER_DLLPUBLIC
virtual DECL_LISTENERMULTIPLEXER_END void SAL_CALL selectionChanged(const css::lang::EventObject &aEvent) override
std::shared_ptr< osl::Mutex > const & lock()