diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-13 01:04:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-16 21:22:43 -0400 |
commit | 80b1e662777100a7dfd80176a2b528880a838167 (patch) | |
tree | fe39ee8773de6282e6e2b468b815eadf4fc7ddca /udkapi | |
parent | Slightly changed the API. (diff) | |
download | core-80b1e662777100a7dfd80176a2b528880a838167.tar.gz core-80b1e662777100a7dfd80176a2b528880a838167.zip |
Added XPropertySet2 to allow disabling of change event notifications.
Sometimes broadcasting changes to the property set on every new
value insertion makes no sense especially during import. Turning
that off also improves performance especially when inserting millions
of property values.
Diffstat (limited to 'udkapi')
-rw-r--r-- | udkapi/UnoApi_udkapi.mk | 3 | ||||
-rw-r--r-- | udkapi/com/sun/star/beans/XPropertySet2.idl | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/udkapi/UnoApi_udkapi.mk b/udkapi/UnoApi_udkapi.mk index 733e20c32faf..8a57118ae6f1 100644 --- a/udkapi/UnoApi_udkapi.mk +++ b/udkapi/UnoApi_udkapi.mk @@ -2,7 +2,7 @@ #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# +# # Copyright 2000, 2010 Oracle and/or its affiliates. # # OpenOffice.org - a multi-platform office productivity suite @@ -159,6 +159,7 @@ $(eval $(call gb_UnoApiTarget_add_idlfiles,udkapi,\ udkapi/com/sun/star/beans/XPropertyChangeListener \ udkapi/com/sun/star/beans/XPropertyContainer \ udkapi/com/sun/star/beans/XPropertySet \ + udkapi/com/sun/star/beans/XPropertySet2 \ udkapi/com/sun/star/beans/XPropertySetInfo \ udkapi/com/sun/star/beans/XPropertySetInfoChangeListener \ udkapi/com/sun/star/beans/XPropertySetInfoChangeNotifier \ diff --git a/udkapi/com/sun/star/beans/XPropertySet2.idl b/udkapi/com/sun/star/beans/XPropertySet2.idl new file mode 100644 index 000000000000..e4868bfac808 --- /dev/null +++ b/udkapi/com/sun/star/beans/XPropertySet2.idl @@ -0,0 +1,18 @@ + +#ifndef __com_sun_star_beans_XPropertySet2_idl__ +#define __com_sun_star_beans_XPropertySet2_idl__ + +#include <com/sun/star/beans/XPropertySet.idl> + +module com { module sun { module star { module beans { + +interface XPropertySet2: com::sun::star::beans::XPropertySet +{ + void enableChangeListenerNotification( [in] boolean bEnable ); +}; + +//============================================================================= + +}; }; }; }; + +#endif |