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... | |
bool | isDisposed () const |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | mxConfig |
std::vector< ConfigurationListenerPropertyBase * > | maListeners |
bool | mbDisposed |
Definition at line 64 of file configurationlistener.hxx.
|
inline |
Public health warning, you -must- dispose this if you use it.
Definition at line 71 of file configurationlistener.hxx.
References ReadOnly.
|
inlineoverridevirtual |
Definition at line 79 of file configurationlistener.hxx.
References dispose().
void comphelper::ConfigurationListener::addListener | ( | ConfigurationListenerPropertyBase * | pListener | ) |
Listen for the specific property denoted by the listener.
Definition at line 273 of file configuration.cxx.
References comphelper::ConfigurationListenerPropertyBase::maName, and comphelper::ConfigurationListenerPropertyBase::setProperty().
void comphelper::ConfigurationListener::dispose | ( | void | ) |
Release various circular references.
Definition at line 290 of file configuration.cxx.
|
overridevirtual |
Definition at line 301 of file configuration.cxx.
References dispose().
|
inline |
Definition at line 100 of file configurationlistener.hxx.
|
overridevirtual |
Notify of the property change.
Definition at line 306 of file configuration.cxx.
References comphelper::SolarMutex::get().
void comphelper::ConfigurationListener::removeListener | ( | ConfigurationListenerPropertyBase * | pListener | ) |
Stop listening.
Definition at line 280 of file configuration.cxx.
References find(), and comphelper::ConfigurationListenerPropertyBase::maName.
|
private |
Definition at line 67 of file configurationlistener.hxx.
|
private |
Definition at line 68 of file configurationlistener.hxx.
|
private |
Definition at line 66 of file configurationlistener.hxx.