1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE3_HXX_ 28*cdf0e10cSrcweir #define _CPPUHELPER_IMPLBASE3_HXX_ 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir #include <cppuhelper/implbase_ex.hxx> 31*cdf0e10cSrcweir #include <rtl/instance.hxx> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir namespace cppu 34*cdf0e10cSrcweir { 35*cdf0e10cSrcweir /** @internal */ 36*cdf0e10cSrcweir struct class_data3 37*cdf0e10cSrcweir { 38*cdf0e10cSrcweir sal_Int16 m_nTypes; 39*cdf0e10cSrcweir sal_Bool m_storedTypeRefs; 40*cdf0e10cSrcweir sal_Bool m_storedId; 41*cdf0e10cSrcweir sal_Int8 m_id[ 16 ]; 42*cdf0e10cSrcweir type_entry m_typeEntries[ 3 + 1 ]; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir /** @internal */ 46*cdf0e10cSrcweir template< typename Ifc1, typename Ifc2, typename Ifc3, typename Impl > struct ImplClassData3 47*cdf0e10cSrcweir { 48*cdf0e10cSrcweir class_data* operator ()() 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir static class_data3 s_cd = 51*cdf0e10cSrcweir { 52*cdf0e10cSrcweir 3 +1, sal_False, sal_False, 53*cdf0e10cSrcweir { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 54*cdf0e10cSrcweir { 55*cdf0e10cSrcweir { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 }, 56*cdf0e10cSrcweir { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 }, 57*cdf0e10cSrcweir { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 }, 58*cdf0e10cSrcweir { { ::com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(::com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 } 59*cdf0e10cSrcweir } 60*cdf0e10cSrcweir }; 61*cdf0e10cSrcweir return reinterpret_cast< class_data * >(&s_cd); 62*cdf0e10cSrcweir } 63*cdf0e10cSrcweir }; 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir /** Implementation helper implementing interface ::com::sun::star::lang::XTypeProvider 66*cdf0e10cSrcweir and method XInterface::queryInterface(), but no reference counting. 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir @derive 69*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 70*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s) including acquire()/ 71*cdf0e10cSrcweir release() and delegates incoming queryInterface() calls to this base class. 72*cdf0e10cSrcweir */ 73*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3 > 74*cdf0e10cSrcweir class SAL_NO_VTABLE ImplHelper3 75*cdf0e10cSrcweir : public ::com::sun::star::lang::XTypeProvider 76*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir /** @internal */ 79*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, ImplHelper3<Ifc1, Ifc2, Ifc3> > > {}; 80*cdf0e10cSrcweir public: 81*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 82*cdf0e10cSrcweir { return ImplHelper_query( rType, cd::get(), this ); } 83*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 84*cdf0e10cSrcweir { return ImplHelper_getTypes( cd::get() ); } 85*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 86*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 89*cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 90*cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakObject). 91*cdf0e10cSrcweir 92*cdf0e10cSrcweir @derive 93*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 94*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 95*cdf0e10cSrcweir */ 96*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3 > 97*cdf0e10cSrcweir class SAL_NO_VTABLE WeakImplHelper3 98*cdf0e10cSrcweir : public OWeakObject 99*cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 100*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3 101*cdf0e10cSrcweir { 102*cdf0e10cSrcweir /** @internal */ 103*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakImplHelper3<Ifc1, Ifc2, Ifc3> > > {}; 104*cdf0e10cSrcweir public: 105*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 106*cdf0e10cSrcweir { return WeakImplHelper_query( rType, cd::get(), this, (OWeakObject *)this ); } 107*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 108*cdf0e10cSrcweir { OWeakObject::acquire(); } 109*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 110*cdf0e10cSrcweir { OWeakObject::release(); } 111*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 112*cdf0e10cSrcweir { return WeakImplHelper_getTypes( cd::get() ); } 113*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 114*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 115*cdf0e10cSrcweir }; 116*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 117*cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 118*cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakAggObject). 119*cdf0e10cSrcweir In addition, it supports also aggregation meaning object of this class can be aggregated 120*cdf0e10cSrcweir (::com::sun::star::uno::XAggregation thru ::cppu::OWeakAggObject). 121*cdf0e10cSrcweir If a delegator is set (this object is aggregated), then incoming queryInterface() 122*cdf0e10cSrcweir calls are delegated to the delegator object. If the delegator does not support the 123*cdf0e10cSrcweir demanded interface, it calls queryAggregation() on its aggregated objects. 124*cdf0e10cSrcweir 125*cdf0e10cSrcweir @derive 126*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 127*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 128*cdf0e10cSrcweir */ 129*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3 > 130*cdf0e10cSrcweir class SAL_NO_VTABLE WeakAggImplHelper3 131*cdf0e10cSrcweir : public OWeakAggObject 132*cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 133*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3 134*cdf0e10cSrcweir { 135*cdf0e10cSrcweir /** @internal */ 136*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakAggImplHelper3<Ifc1, Ifc2, Ifc3> > > {}; 137*cdf0e10cSrcweir public: 138*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 139*cdf0e10cSrcweir { return OWeakAggObject::queryInterface( rType ); } 140*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 141*cdf0e10cSrcweir { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, (OWeakAggObject *)this ); } 142*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 143*cdf0e10cSrcweir { OWeakAggObject::acquire(); } 144*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 145*cdf0e10cSrcweir { OWeakAggObject::release(); } 146*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 147*cdf0e10cSrcweir { return WeakAggImplHelper_getTypes( cd::get() ); } 148*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 149*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 150*cdf0e10cSrcweir }; 151*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 152*cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 153*cdf0e10cSrcweir All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), 154*cdf0e10cSrcweir if a demanded interface is not supported by this class directly, the request is 155*cdf0e10cSrcweir delegated to the BaseClass. 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir @attention 158*cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface 159*cdf0e10cSrcweir and ::com::sun::star::lang::XTypeProvider are implemented properly. The 160*cdf0e10cSrcweir BaseClass must have at least one ctor that can be called with six or 161*cdf0e10cSrcweir fewer arguments, of which none is of non-const reference type. 162*cdf0e10cSrcweir also has to have a default ctor. 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir @derive 165*cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 166*cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 167*cdf0e10cSrcweir */ 168*cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3 > 169*cdf0e10cSrcweir class SAL_NO_VTABLE ImplInheritanceHelper3 170*cdf0e10cSrcweir : public BaseClass 171*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir /** @internal */ 174*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, ImplInheritanceHelper3<BaseClass, Ifc1, Ifc2, Ifc3> > > {}; 175*cdf0e10cSrcweir protected: 176*cdf0e10cSrcweir template< typename T1 > 177*cdf0e10cSrcweir explicit ImplInheritanceHelper3(T1 const & arg1): BaseClass(arg1) {} 178*cdf0e10cSrcweir template< typename T1, typename T2 > 179*cdf0e10cSrcweir ImplInheritanceHelper3(T1 const & arg1, T2 const & arg2): 180*cdf0e10cSrcweir BaseClass(arg1, arg2) {} 181*cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > 182*cdf0e10cSrcweir ImplInheritanceHelper3( 183*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 184*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 185*cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > 186*cdf0e10cSrcweir ImplInheritanceHelper3( 187*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 188*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 189*cdf0e10cSrcweir template< 190*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > 191*cdf0e10cSrcweir ImplInheritanceHelper3( 192*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 193*cdf0e10cSrcweir T5 const & arg5): 194*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 195*cdf0e10cSrcweir template< 196*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 197*cdf0e10cSrcweir typename T6 > 198*cdf0e10cSrcweir ImplInheritanceHelper3( 199*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 200*cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 201*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 202*cdf0e10cSrcweir public: 203*cdf0e10cSrcweir ImplInheritanceHelper3() {} 204*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 205*cdf0e10cSrcweir { 206*cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 207*cdf0e10cSrcweir if (aRet.hasValue()) 208*cdf0e10cSrcweir return aRet; 209*cdf0e10cSrcweir return BaseClass::queryInterface( rType ); 210*cdf0e10cSrcweir } 211*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 212*cdf0e10cSrcweir { BaseClass::acquire(); } 213*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 214*cdf0e10cSrcweir { BaseClass::release(); } 215*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 216*cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } 217*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 218*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 219*cdf0e10cSrcweir }; 220*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 221*cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 222*cdf0e10cSrcweir All acquire(), release() and queryInterface() calls are delegated to the BaseClass. 223*cdf0e10cSrcweir Upon queryAggregation(), if a demanded interface is not supported by this class directly, 224*cdf0e10cSrcweir the request is delegated to the BaseClass. 225*cdf0e10cSrcweir 226*cdf0e10cSrcweir @attention 227*cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface, 228*cdf0e10cSrcweir ::com::sun::star::uno::XAggregation and ::com::sun::star::lang::XTypeProvider 229*cdf0e10cSrcweir are implemented properly. The BaseClass must have at least one ctor 230*cdf0e10cSrcweir that can be called with six or fewer arguments, of which none is of 231*cdf0e10cSrcweir non-const reference type. 232*cdf0e10cSrcweir 233*cdf0e10cSrcweir @derive 234*cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 235*cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 236*cdf0e10cSrcweir */ 237*cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3 > 238*cdf0e10cSrcweir class SAL_NO_VTABLE AggImplInheritanceHelper3 239*cdf0e10cSrcweir : public BaseClass 240*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3 241*cdf0e10cSrcweir { 242*cdf0e10cSrcweir /** @internal */ 243*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, AggImplInheritanceHelper3<BaseClass, Ifc1, Ifc2, Ifc3> > > {}; 244*cdf0e10cSrcweir protected: 245*cdf0e10cSrcweir template< typename T1 > 246*cdf0e10cSrcweir explicit AggImplInheritanceHelper3(T1 const & arg1): BaseClass(arg1) {} 247*cdf0e10cSrcweir template< typename T1, typename T2 > 248*cdf0e10cSrcweir AggImplInheritanceHelper3(T1 const & arg1, T2 const & arg2): 249*cdf0e10cSrcweir BaseClass(arg1, arg2) {} 250*cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > 251*cdf0e10cSrcweir AggImplInheritanceHelper3( 252*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 253*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 254*cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > 255*cdf0e10cSrcweir AggImplInheritanceHelper3( 256*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 257*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 258*cdf0e10cSrcweir template< 259*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > 260*cdf0e10cSrcweir AggImplInheritanceHelper3( 261*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 262*cdf0e10cSrcweir T5 const & arg5): 263*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 264*cdf0e10cSrcweir template< 265*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 266*cdf0e10cSrcweir typename T6 > 267*cdf0e10cSrcweir AggImplInheritanceHelper3( 268*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 269*cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 270*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 271*cdf0e10cSrcweir public: 272*cdf0e10cSrcweir AggImplInheritanceHelper3() {} 273*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 274*cdf0e10cSrcweir { return BaseClass::queryInterface( rType ); } 275*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 276*cdf0e10cSrcweir { 277*cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 278*cdf0e10cSrcweir if (aRet.hasValue()) 279*cdf0e10cSrcweir return aRet; 280*cdf0e10cSrcweir return BaseClass::queryAggregation( rType ); 281*cdf0e10cSrcweir } 282*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 283*cdf0e10cSrcweir { BaseClass::acquire(); } 284*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 285*cdf0e10cSrcweir { BaseClass::release(); } 286*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 287*cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } 288*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 289*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 290*cdf0e10cSrcweir }; 291*cdf0e10cSrcweir } 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir #endif 294