00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CPPUHELPER_COMPBASE12_HXX_
00020 #define _CPPUHELPER_COMPBASE12_HXX_
00021
00022 #include <cppuhelper/implbase12.hxx>
00023 #include <cppuhelper/compbase_ex.hxx>
00024
00025 namespace cppu
00026 {
00027
00028
00029
00030 #if defined __SUNPRO_CC
00031 #pragma disable_warn
00032 #endif
00033
00048 template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >
00049 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakComponentImplHelper12
00050 : public WeakComponentImplHelperBase
00051 , public ::com::sun::star::lang::XTypeProvider
00052 , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9, public Ifc10, public Ifc11, public Ifc12
00053 {
00054 struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
00055 public:
00056 inline WeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
00057 : WeakComponentImplHelperBase( rMutex )
00058 {}
00059 virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00060 { return WeakComponentImplHelper_query( rType, cd::get(), this, (WeakComponentImplHelperBase *)this ); }
00061 virtual void SAL_CALL acquire() throw ()
00062 { WeakComponentImplHelperBase::acquire(); }
00063 virtual void SAL_CALL release() throw ()
00064 { WeakComponentImplHelperBase::release(); }
00065 virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException)
00066 { WeakComponentImplHelperBase::dispose(); }
00067 virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException)
00068 { WeakComponentImplHelperBase::addEventListener(xListener); }
00069 virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException)
00070 { WeakComponentImplHelperBase::removeEventListener(xListener); }
00071 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
00072 { return WeakComponentImplHelper_getTypes( cd::get() ); }
00073 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
00074 { return ImplHelper_getImplementationId( cd::get() ); }
00075 };
00076
00077 #if defined __SUNPRO_CC
00078 #pragma enable_warn
00079 #endif
00080
00090 template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >
00091 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE PartialWeakComponentImplHelper12
00092 : public WeakComponentImplHelperBase
00093 , public ::com::sun::star::lang::XTypeProvider
00094 , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9, public Ifc10, public Ifc11, public Ifc12
00095 {
00096 struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, PartialWeakComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
00097 public:
00098 inline PartialWeakComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
00099 : WeakComponentImplHelperBase( rMutex )
00100 {}
00101 virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00102 { return WeakComponentImplHelper_query( rType, cd::get(), this, (WeakComponentImplHelperBase *)this ); }
00103 virtual void SAL_CALL acquire() throw ()
00104 { WeakComponentImplHelperBase::acquire(); }
00105 virtual void SAL_CALL release() throw ()
00106 { WeakComponentImplHelperBase::release(); }
00107 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
00108 { return WeakComponentImplHelper_getTypes( cd::get() ); }
00109 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
00110 { return ImplHelper_getImplementationId( cd::get() ); }
00111 };
00112
00130 template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >
00131 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakAggComponentImplHelper12
00132 : public WeakAggComponentImplHelperBase
00133 , public ::com::sun::star::lang::XTypeProvider
00134 , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9, public Ifc10, public Ifc11, public Ifc12
00135 {
00136 struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggComponentImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
00137 public:
00138 inline WeakAggComponentImplHelper12( ::osl::Mutex & rMutex ) throw ()
00139 : WeakAggComponentImplHelperBase( rMutex )
00140 {}
00141 virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00142 { return WeakAggComponentImplHelperBase::queryInterface( rType ); }
00143 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00144 { return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, (WeakAggComponentImplHelperBase *)this ); }
00145 virtual void SAL_CALL acquire() throw ()
00146 { WeakAggComponentImplHelperBase::acquire(); }
00147 virtual void SAL_CALL release() throw ()
00148 { WeakAggComponentImplHelperBase::release(); }
00149 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
00150 { return WeakAggComponentImplHelper_getTypes( cd::get() ); }
00151 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
00152 { return ImplHelper_getImplementationId( cd::get() ); }
00153 };
00154 }
00155
00156 #endif
00157
00158