00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CPPUHELPER_COMPBASE9_HXX_
00020 #define _CPPUHELPER_COMPBASE9_HXX_
00021
00022 #include <cppuhelper/implbase9.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 >
00049 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakComponentImplHelper9
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
00053 {
00054 struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
00055 public:
00056 inline WeakComponentImplHelper9( ::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 >
00091 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE PartialWeakComponentImplHelper9
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
00095 {
00096 struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, PartialWeakComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
00097 public:
00098 inline PartialWeakComponentImplHelper9( ::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
00129 template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 >
00130 class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakAggComponentImplHelper9
00131 : public WeakAggComponentImplHelperBase
00132 , public ::com::sun::star::lang::XTypeProvider
00133 , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9
00134 {
00135 struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggComponentImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
00136 public:
00137 inline WeakAggComponentImplHelper9( ::osl::Mutex & rMutex ) throw ()
00138 : WeakAggComponentImplHelperBase( rMutex )
00139 {}
00140 virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00141 { return WeakAggComponentImplHelperBase::queryInterface( rType ); }
00142 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException)
00143 { return WeakAggComponentImplHelper_queryAgg( rType, cd::get(), this, (WeakAggComponentImplHelperBase *)this ); }
00144 virtual void SAL_CALL acquire() throw ()
00145 { WeakAggComponentImplHelperBase::acquire(); }
00146 virtual void SAL_CALL release() throw ()
00147 { WeakAggComponentImplHelperBase::release(); }
00148 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
00149 { return WeakAggComponentImplHelper_getTypes( cd::get() ); }
00150 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
00151 { return ImplHelper_getImplementationId( cd::get() ); }
00152 };
00153 }
00154
00155 #endif
00156
00157