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_IMPLBASE6_HXX_ 28*cdf0e10cSrcweir #define _CPPUHELPER_IMPLBASE6_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_data6 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[ 6 + 1 ]; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir /** @internal */ 46*cdf0e10cSrcweir template< typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4, typename Ifc5, typename Ifc6, typename Impl > 47*cdf0e10cSrcweir struct ImplClassData6 48*cdf0e10cSrcweir { 49*cdf0e10cSrcweir class_data* operator ()() 50*cdf0e10cSrcweir { 51*cdf0e10cSrcweir static class_data6 s_cd = 52*cdf0e10cSrcweir { 53*cdf0e10cSrcweir 6 +1, sal_False, sal_False, 54*cdf0e10cSrcweir { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 }, 57*cdf0e10cSrcweir { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 }, 58*cdf0e10cSrcweir { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 }, 59*cdf0e10cSrcweir { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 }, 60*cdf0e10cSrcweir { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 }, 61*cdf0e10cSrcweir { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 }, 62*cdf0e10cSrcweir { { ::com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(::com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 } 63*cdf0e10cSrcweir } 64*cdf0e10cSrcweir }; 65*cdf0e10cSrcweir return reinterpret_cast< class_data * >(&s_cd); 66*cdf0e10cSrcweir } 67*cdf0e10cSrcweir }; 68*cdf0e10cSrcweir 69*cdf0e10cSrcweir /** Implementation helper implementing interface ::com::sun::star::lang::XTypeProvider 70*cdf0e10cSrcweir and method XInterface::queryInterface(), but no reference counting. 71*cdf0e10cSrcweir 72*cdf0e10cSrcweir @derive 73*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 74*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s) including acquire()/ 75*cdf0e10cSrcweir release() and delegates incoming queryInterface() calls to this base class. 76*cdf0e10cSrcweir */ 77*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 78*cdf0e10cSrcweir class SAL_NO_VTABLE ImplHelper6 79*cdf0e10cSrcweir : public ::com::sun::star::lang::XTypeProvider 80*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir /** @internal */ 83*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 84*cdf0e10cSrcweir public: 85*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 86*cdf0e10cSrcweir { return ImplHelper_query( rType, cd::get(), this ); } 87*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 88*cdf0e10cSrcweir { return ImplHelper_getTypes( cd::get() ); } 89*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 90*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 93*cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 94*cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakObject). 95*cdf0e10cSrcweir 96*cdf0e10cSrcweir @derive 97*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 98*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 99*cdf0e10cSrcweir */ 100*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 101*cdf0e10cSrcweir class SAL_NO_VTABLE WeakImplHelper6 102*cdf0e10cSrcweir : public OWeakObject 103*cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 104*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir /** @internal */ 107*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 108*cdf0e10cSrcweir public: 109*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 110*cdf0e10cSrcweir { return WeakImplHelper_query( rType, cd::get(), this, (OWeakObject *)this ); } 111*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 112*cdf0e10cSrcweir { OWeakObject::acquire(); } 113*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 114*cdf0e10cSrcweir { OWeakObject::release(); } 115*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 116*cdf0e10cSrcweir { return WeakImplHelper_getTypes( cd::get() ); } 117*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 118*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 121*cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 122*cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakAggObject). 123*cdf0e10cSrcweir In addition, it supports also aggregation meaning object of this class can be aggregated 124*cdf0e10cSrcweir (::com::sun::star::uno::XAggregation thru ::cppu::OWeakAggObject). 125*cdf0e10cSrcweir If a delegator is set (this object is aggregated), then incoming queryInterface() 126*cdf0e10cSrcweir calls are delegated to the delegator object. If the delegator does not support the 127*cdf0e10cSrcweir demanded interface, it calls queryAggregation() on its aggregated objects. 128*cdf0e10cSrcweir 129*cdf0e10cSrcweir @derive 130*cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 131*cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 132*cdf0e10cSrcweir */ 133*cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 134*cdf0e10cSrcweir class SAL_NO_VTABLE WeakAggImplHelper6 135*cdf0e10cSrcweir : public OWeakAggObject 136*cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 137*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir /** @internal */ 140*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 141*cdf0e10cSrcweir public: 142*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 143*cdf0e10cSrcweir { return OWeakAggObject::queryInterface( rType ); } 144*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 145*cdf0e10cSrcweir { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, (OWeakAggObject *)this ); } 146*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 147*cdf0e10cSrcweir { OWeakAggObject::acquire(); } 148*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 149*cdf0e10cSrcweir { OWeakAggObject::release(); } 150*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 151*cdf0e10cSrcweir { return WeakAggImplHelper_getTypes( cd::get() ); } 152*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 153*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 154*cdf0e10cSrcweir }; 155*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 156*cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 157*cdf0e10cSrcweir All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), 158*cdf0e10cSrcweir if a demanded interface is not supported by this class directly, the request is 159*cdf0e10cSrcweir delegated to the BaseClass. 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir @attention 162*cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface 163*cdf0e10cSrcweir and ::com::sun::star::lang::XTypeProvider are implemented properly. The 164*cdf0e10cSrcweir BaseClass must have at least one ctor that can be called with six or 165*cdf0e10cSrcweir fewer arguments, of which none is of non-const reference type. 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir @derive 168*cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 169*cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 170*cdf0e10cSrcweir */ 171*cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 172*cdf0e10cSrcweir class SAL_NO_VTABLE ImplInheritanceHelper6 173*cdf0e10cSrcweir : public BaseClass 174*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 175*cdf0e10cSrcweir { 176*cdf0e10cSrcweir /** @internal */ 177*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 178*cdf0e10cSrcweir protected: 179*cdf0e10cSrcweir template< typename T1 > 180*cdf0e10cSrcweir explicit ImplInheritanceHelper6(T1 const & arg1): BaseClass(arg1) {} 181*cdf0e10cSrcweir template< typename T1, typename T2 > 182*cdf0e10cSrcweir ImplInheritanceHelper6(T1 const & arg1, T2 const & arg2): 183*cdf0e10cSrcweir BaseClass(arg1, arg2) {} 184*cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > 185*cdf0e10cSrcweir ImplInheritanceHelper6( 186*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 187*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 188*cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > 189*cdf0e10cSrcweir ImplInheritanceHelper6( 190*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 191*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 192*cdf0e10cSrcweir template< 193*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > 194*cdf0e10cSrcweir ImplInheritanceHelper6( 195*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 196*cdf0e10cSrcweir T5 const & arg5): 197*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 198*cdf0e10cSrcweir template< 199*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 200*cdf0e10cSrcweir typename T6 > 201*cdf0e10cSrcweir ImplInheritanceHelper6( 202*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 203*cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 204*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 205*cdf0e10cSrcweir public: 206*cdf0e10cSrcweir ImplInheritanceHelper6() {} 207*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 208*cdf0e10cSrcweir { 209*cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 210*cdf0e10cSrcweir if (aRet.hasValue()) 211*cdf0e10cSrcweir return aRet; 212*cdf0e10cSrcweir return BaseClass::queryInterface( rType ); 213*cdf0e10cSrcweir } 214*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 215*cdf0e10cSrcweir { BaseClass::acquire(); } 216*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 217*cdf0e10cSrcweir { BaseClass::release(); } 218*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 219*cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } 220*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 221*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 222*cdf0e10cSrcweir }; 223*cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 224*cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 225*cdf0e10cSrcweir All acquire(), release() and queryInterface() calls are delegated to the BaseClass. 226*cdf0e10cSrcweir Upon queryAggregation(), if a demanded interface is not supported by this class directly, 227*cdf0e10cSrcweir the request is delegated to the BaseClass. 228*cdf0e10cSrcweir 229*cdf0e10cSrcweir @attention 230*cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface, 231*cdf0e10cSrcweir ::com::sun::star::uno::XAggregation and ::com::sun::star::lang::XTypeProvider 232*cdf0e10cSrcweir are implemented properly. The BaseClass must have at least one ctor 233*cdf0e10cSrcweir that can be called with six or fewer arguments, of which none is of 234*cdf0e10cSrcweir non-const reference type. 235*cdf0e10cSrcweir 236*cdf0e10cSrcweir @derive 237*cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 238*cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 239*cdf0e10cSrcweir */ 240*cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 241*cdf0e10cSrcweir class SAL_NO_VTABLE AggImplInheritanceHelper6 242*cdf0e10cSrcweir : public BaseClass 243*cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 244*cdf0e10cSrcweir { 245*cdf0e10cSrcweir /** @internal */ 246*cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, AggImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 247*cdf0e10cSrcweir protected: 248*cdf0e10cSrcweir template< typename T1 > 249*cdf0e10cSrcweir explicit AggImplInheritanceHelper6(T1 const & arg1): BaseClass(arg1) {} 250*cdf0e10cSrcweir template< typename T1, typename T2 > 251*cdf0e10cSrcweir AggImplInheritanceHelper6(T1 const & arg1, T2 const & arg2): 252*cdf0e10cSrcweir BaseClass(arg1, arg2) {} 253*cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > 254*cdf0e10cSrcweir AggImplInheritanceHelper6( 255*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 256*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 257*cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > 258*cdf0e10cSrcweir AggImplInheritanceHelper6( 259*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 260*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 261*cdf0e10cSrcweir template< 262*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > 263*cdf0e10cSrcweir AggImplInheritanceHelper6( 264*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 265*cdf0e10cSrcweir T5 const & arg5): 266*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 267*cdf0e10cSrcweir template< 268*cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 269*cdf0e10cSrcweir typename T6 > 270*cdf0e10cSrcweir AggImplInheritanceHelper6( 271*cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 272*cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 273*cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 274*cdf0e10cSrcweir public: 275*cdf0e10cSrcweir AggImplInheritanceHelper6() {} 276*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 277*cdf0e10cSrcweir { return BaseClass::queryInterface( rType ); } 278*cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 279*cdf0e10cSrcweir { 280*cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 281*cdf0e10cSrcweir if (aRet.hasValue()) 282*cdf0e10cSrcweir return aRet; 283*cdf0e10cSrcweir return BaseClass::queryAggregation( rType ); 284*cdf0e10cSrcweir } 285*cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 286*cdf0e10cSrcweir { BaseClass::acquire(); } 287*cdf0e10cSrcweir virtual void SAL_CALL release() throw () 288*cdf0e10cSrcweir { BaseClass::release(); } 289*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 290*cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } 291*cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 292*cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 293*cdf0e10cSrcweir }; 294*cdf0e10cSrcweir } 295*cdf0e10cSrcweir 296*cdf0e10cSrcweir #endif 297