LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
Public Member Functions | Protected Member Functions | List of all members
cppu::IEventNotificationHook Class Referenceabstract

An interface to extend event notification actions. More...

#include <propshlp.hxx>

Public Member Functions

virtual void fireEvents (sal_Int32 *pnHandles, sal_Int32 nCount, sal_Bool bVetoable, bool bIgnoreRuntimeExceptionsWhileFiring)=0
 Method to be called by OPropertySetHelper::fire. More...
 

Protected Member Functions

 ~IEventNotificationHook ()
 

Detailed Description

An interface to extend event notification actions.

Constructor & Destructor Documentation

◆ ~IEventNotificationHook()

cppu::IEventNotificationHook::~IEventNotificationHook ( )
inlineprotected

Member Function Documentation

◆ fireEvents()

virtual void cppu::IEventNotificationHook::fireEvents ( sal_Int32 *  pnHandles,
sal_Int32  nCount,
sal_Bool  bVetoable,
bool  bIgnoreRuntimeExceptionsWhileFiring 
)
pure virtual

Method to be called by OPropertySetHelper::fire.

Parameters
pnHandlesthe id's of the properties that changed.
nCountthe number of elements in the arrays pnHandles, pNewValues and pOldValues.
bVetoabletrue means fire to VetoableChangeListener, false means fire to XPropertyChangedListener and XMultiPropertyChangedListener.
bIgnoreRuntimeExceptionsWhileFiringindicates whether occurring RuntimeExceptions will be ignored when firing notifications (vetoableChange(), propertyChange()) to listeners. PropertyVetoExceptions may still be thrown. This flag is useful in an inter-process scenario when remote bridges may break down (firing DisposedExceptions).
See also
OPropertySetHelper::fire

The documentation for this class was generated from the following file: