summaryrefslogtreecommitdiff
path: root/chart2/source/inc/OPropertySet.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 17:20:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 17:20:42 +0000
commit1eb5efa98cfbf42480023aa500667c877e503d64 (patch)
treebb55e3be563c65fb294c71410d301bc3640b67e0 /chart2/source/inc/OPropertySet.hxx
parent2fec3d8f04ac7cc031cf5d4341f0370d92a10050 (diff)
INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED
2005/11/15 15:30:27 bm 1.2.4.6: garbage collection, disposing, reference release issues 2005/11/03 13:38:45 bm 1.2.4.5: do not notify change to parent object in _NoBroadcast method 2005/11/03 11:57:03 bm 1.2.4.4: +firePropertyChangeEvent for notifying property changes 2005/10/07 11:44:17 bm 1.2.4.3: RESYNC: (1.2-1.3); FILE MERGED 2005/09/23 15:24:10 iha 1.2.4.2: #i55000# crash caused by dead reference to mutex 2005/03/30 16:31:05 bm 1.2.4.1: make model cloneable (+first undo implementation)
Diffstat (limited to 'chart2/source/inc/OPropertySet.hxx')
-rw-r--r--chart2/source/inc/OPropertySet.hxx27
1 files changed, 25 insertions, 2 deletions
diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx
index 6392e28c0744..be7bf5f2ec0e 100644
--- a/chart2/source/inc/OPropertySet.hxx
+++ b/chart2/source/inc/OPropertySet.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: OPropertySet.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 00:44:32 $
+ * last change: $Author: vg $ $Date: 2007-05-22 18:20:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -102,6 +102,8 @@ public:
virtual ~OPropertySet();
protected:
+ explicit OPropertySet( const OPropertySet & rOther, ::osl::Mutex & rMutex );
+
/** implement this method to provide default values for all properties
supporting defaults. If a property does not have a default value, you
may throw an UnknownPropertyException.
@@ -219,6 +221,14 @@ protected:
/// make original interface function visible again
using ::com::sun::star::beans::XFastPropertySet::getFastPropertyValue;
+ /** implement this method in derived classes to get called when properties
+ change.
+ */
+ virtual void firePropertyChangeEvent();
+
+ /// call this when a derived component is disposed
+ virtual void disposePropertySet();
+
// ========================================
// Interfaces
// ========================================
@@ -306,6 +316,19 @@ protected:
// ::com::sun::star::lang::WrappedTargetException,
// ::com::sun::star::uno::RuntimeException);
+ // ____ XMultiPropertySet ____
+ virtual void SAL_CALL setPropertyValues(
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& PropertyNames,
+ const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Values )
+ throw(::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // ____ XFastPropertySet ____
+ virtual void SAL_CALL setFastPropertyValue( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue )
+ throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // Note: it is assumed that the base class implements setPropertyValue by
+ // using setFastPropertyValue
+
private:
/// reference to mutex of class deriving from here
::osl::Mutex & m_rMutex;