summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-12 13:12:14 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-12 13:12:14 +0000
commit828eba88a97a38a74850bbff0a94fe44d94f271c (patch)
tree090d187a963131fe414541e7b5caa098fe934793 /framework
parent4df1453e63954d2ce149aeac11a5b6cd917cbb03 (diff)
INTEGRATION: CWS fwk16 (1.32.82); FILE MERGED
2005/06/13 08:18:42 as 1.32.82.1: #i50186# use new threadsafe property set helper
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/services/frame.hxx51
1 files changed, 17 insertions, 34 deletions
diff --git a/framework/inc/services/frame.hxx b/framework/inc/services/frame.hxx
index ad73e9106466..c7d8280685cf 100644
--- a/framework/inc/services/frame.hxx
+++ b/framework/inc/services/frame.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: frame.hxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: kz $ $Date: 2005-03-01 19:25:24 $
+ * last change: $Author: kz $ $Date: 2005-07-12 14:12:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,12 +70,8 @@
#include <classes/framecontainer.hxx>
#endif
-#ifndef __FRAMEWORK_THREADHELP_TRANSACTIONBASE_HXX_
-#include <threadhelp/transactionbase.hxx>
-#endif
-
-#ifndef __FRAMEWORK_THREADHELP_THREADHELPBASE_HXX_
-#include <threadhelp/threadhelpbase.hxx>
+#ifndef __FRAMEWORK_CLASSES_PROPERTYSETHELPER_HXX_
+#include <classes/propertysethelper.hxx>
#endif
#ifndef __FRAMEWORK_THREADHELP_RESETABLEGUARD_HXX_
@@ -234,10 +230,6 @@
#include <cppuhelper/interfacecontainer.hxx>
#endif
-#ifndef _CPPUHELPER_PROPSHLP_HXX
-#include <cppuhelper/propshlp.hxx>
-#endif
-
#ifndef _CPPUHELPER_WEAK_HXX_
#include <cppuhelper/weak.hxx>
#endif
@@ -313,11 +305,8 @@ class Frame : // interfaces
public css::frame::XComponentLoader ,
// base classes
// Order is neccessary for right initialization of this class!
- public ThreadHelpBase , // helper for own threadsafe code
- public TransactionBase , // helper for rejecting calls for wrong object states
- public ::cppu::OBroadcastHelper , // helper for propertyset => XPropertySet, XFastPropertySet, XMultiPropertySet
- public ::cppu::OPropertySetHelper ,
- public ::cppu::OWeakObject // helper for refcount mechanism
+ public PropertySetHelper , // helper implements ThreadHelpbase, TransactionBase, XPropertySet, XPropertySetInfo
+ public ::cppu::OWeakObject // helper implements XInterface, XWeak
{
//-------------------------------------------------------------------------------------------------------------
// public methods
@@ -466,25 +455,19 @@ class Frame : // interfaces
virtual void SAL_CALL addCloseListener ( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException);
virtual void SAL_CALL removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException);
- //-------------------------------------------------------------------------------------------------------------
- // protected methods
- //-------------------------------------------------------------------------------------------------------------
-
- protected:
-
//---------------------------------------------------------------------------------------------------------
- // OPropertySetHelper
+ // PropertySetHelper => XPropertySet, XPropertySetInfo
//---------------------------------------------------------------------------------------------------------
- virtual sal_Bool SAL_CALL convertFastPropertyValue ( css::uno::Any& aConvertedValue ,
- css::uno::Any& aOldValue ,
- sal_Int32 nHandle ,
- const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException );
- virtual void SAL_CALL setFastPropertyValue_NoBroadcast ( sal_Int32 nHandle ,
- const css::uno::Any& aValue ) throw( css::uno::Exception );
- virtual void SAL_CALL getFastPropertyValue ( css::uno::Any& aValue ,
- sal_Int32 nHandle ) const;
- virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper ( );
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo ( ) throw (::com::sun::star::uno::RuntimeException);
+ private:
+
+ void impl_initializePropInfo();
+
+ virtual void SAL_CALL impl_setPropertyValue(const ::rtl::OUString& sProperty,
+ sal_Int32 nHandle ,
+ const css::uno::Any& aValue );
+
+ virtual css::uno::Any SAL_CALL impl_getPropertyValue(const ::rtl::OUString& sProperty,
+ sal_Int32 nHandle );
//-------------------------------------------------------------------------------------------------------------
// private methods