22#include <com/sun/star/util/XChangesListener.hpp>
48 css::uno::Reference< css::uno::XInterface >
m_xConfig;
78 css::uno::Reference< css::uno::XInterface > xConfigAccess,
104 virtual void SAL_CALL
changesOccurred(
const css::util::ChangesEvent& aEvent)
override;
108 virtual void SAL_CALL
disposing(
const css::lang::EventObject& aEvent)
override;
implements a listener, which will update the global filter cache, if the underlying configuration wa ...
css::uno::Reference< css::uno::XInterface > m_xConfig
holds the configuration access, where we listen alive.
virtual ~CacheUpdateListener() override
standard dtor.
void startListening()
starts listening.
FilterCache::EItemType m_eConfigType
every instance of this update listener listen on a special sub set of the filter configuration.
CacheUpdateListener(FilterCache &rFilterCache, css::uno::Reference< css::uno::XInterface > xConfigAccess, FilterCache::EItemType eConfigType)
initialize new instance of this class.
void stopListening()
stop listening.
FilterCache & m_rCache
reference to the singleton(!) filter cache implementation, which should be updated by this thread.
virtual void SAL_CALL changesOccurred(const css::util::ChangesEvent &aEvent) override
virtual void SAL_CALL disposing(const css::lang::EventObject &aEvent) override
implements a cache, which contains all elements of our filter and type detection configuration.
EItemType
identify the type of a container item.