LibreOffice Module comphelper (master)
1
|
#include <configurationlistener.hxx>
Public Member Functions | |
ConfigurationListener (const OUString &rPath, css::uno::Reference< css::uno::XComponentContext > const &xContext=comphelper::getProcessComponentContext()) | |
Public health warning, you -must- dispose this if you use it. More... | |
virtual | ~ConfigurationListener () override |
void | addListener (ConfigurationListenerPropertyBase *pListener) |
Listen for the specific property denoted by the listener. More... | |
void | removeListener (ConfigurationListenerPropertyBase *pListener) |
Stop listening. More... | |
void | dispose () |
Release various circular references. More... | |
virtual void SAL_CALL | disposing (css::lang::EventObject const &) override |
virtual void SAL_CALL | propertyChange (css::beans::PropertyChangeEvent const &rEvt) override |
Notify of the property change. More... | |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | mxConfig |
std::vector< ConfigurationListenerPropertyBase * > | maListeners |
Definition at line 62 of file configurationlistener.hxx.
|
inline |
Public health warning, you -must- dispose this if you use it.
Definition at line 69 of file configurationlistener.hxx.
|
inlineoverridevirtual |
Definition at line 76 of file configurationlistener.hxx.
References dispose().
void comphelper::ConfigurationListener::addListener | ( | ConfigurationListenerPropertyBase * | pListener | ) |
Listen for the specific property denoted by the listener.
Definition at line 209 of file configuration.cxx.
References comphelper::ConfigurationListenerPropertyBase::maName, and comphelper::ConfigurationListenerPropertyBase::setProperty().
Release various circular references.
Definition at line 226 of file configuration.cxx.
|
overridevirtual |
Definition at line 236 of file configuration.cxx.
References dispose().
|
overridevirtual |
Notify of the property change.
Definition at line 241 of file configuration.cxx.
References assert(), and comphelper::SolarMutex::get().
void comphelper::ConfigurationListener::removeListener | ( | ConfigurationListenerPropertyBase * | pListener | ) |
Stop listening.
Definition at line 216 of file configuration.cxx.
References find(), and comphelper::ConfigurationListenerPropertyBase::maName.
|
private |
Definition at line 66 of file configurationlistener.hxx.
|
private |
Definition at line 65 of file configurationlistener.hxx.