diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:13:40 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-27 16:13:40 +0000 |
commit | 101125cdb7335b9d1cfcf72542f5c5a347178928 (patch) | |
tree | 543bdb9c96a369a2e57c58e67cfebaf36a74f2b3 /cppuhelper | |
parent | 960fee18e5fc6b4066632a9d7eca0eb6bccb481c (diff) |
INTEGRATION: CWS skeletonmaker (1.10.36); FILE MERGED
2005/10/25 08:47:32 jsc 1.10.36.3: #i52170# adapt docu for autodoc
2005/10/14 15:40:17 jsc 1.10.36.2: RESYNC: (1.10-1.11); FILE MERGED
2005/07/19 13:06:58 jsc 1.10.36.1: #i51721# forward XComponent methods to base class to avoid ambigious error messages
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/inc/cppuhelper/compbase1.hxx | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/cppuhelper/inc/cppuhelper/compbase1.hxx b/cppuhelper/inc/cppuhelper/compbase1.hxx index 83304368d232..91d3a5c0c4d6 100644 --- a/cppuhelper/inc/cppuhelper/compbase1.hxx +++ b/cppuhelper/inc/cppuhelper/compbase1.hxx @@ -4,9 +4,9 @@ * * $RCSfile: compbase1.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2005-09-08 09:04:16 $ + * last change: $Author: hr $ $Date: 2005-10-27 17:13:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -49,8 +49,10 @@ __DEF_COMPIMPLHELPER_EX( 1 ) namespace cppu { /** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and - ::com::sun::star::lang::XComponent. Upon disposing objects of this class, sub-classes - receive a disposing() call. Objects of this class can be held weakly, i.e. by a + ::com::sun::star::lang::XComponent. + + Upon disposing objects of this class, sub-classes receive a disposing() + call. Objects of this class can be held weakly, i.e. by a ::com::sun::star::uno::WeakReference. @attention @@ -78,16 +80,24 @@ namespace cppu { WeakComponentImplHelperBase::acquire(); } virtual void SAL_CALL release() throw () { WeakComponentImplHelperBase::release(); } + virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::dispose(); } + virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::addEventListener(xListener); } + virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::removeEventListener(xListener); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) { return WeakComponentImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) { return ImplHelper_getImplementationId( cd::get() ); } }; /** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and - ::com::sun::star::lang::XComponent. Upon disposing objects of this class, sub-classes - receive a disposing() call. Objects of this class can be held weakly, i.e. by a - ::com::sun::star::uno::WeakReference. Object of this class can be aggregated, i.e. - incoming queryInterface() calls are delegated. + ::com::sun::star::lang::XComponent. + + Upon disposing objects of this class, sub-classes receive a disposing() + call. Objects of this class can be held weakly, i.e. by a + ::com::sun::star::uno::WeakReference. Object of this class can be + aggregated, i.e. incoming queryInterface() calls are delegated. @attention The life-cycle of the passed mutex reference has to be longer than objects of this class. @@ -95,6 +105,8 @@ namespace cppu @derive Inherit from this class giving your interface(s) to be implemented as template argument(s). Your sub class defines method implementations for these interface(s). + + @deprecated */ template< class Ifc1 > class SAL_NO_VTABLE WeakAggComponentImplHelper1 |