28 #ifndef _CPPUHELPER_COMPBASE4_HXX_
29 #define _CPPUHELPER_COMPBASE4_HXX_
42 #if defined __SUNPRO_CC
60 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4 >
62 :
public WeakComponentImplHelperBase
63 ,
public ::com::sun::star::lang::XTypeProvider
64 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4
66 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
69 : WeakComponentImplHelperBase( rMutex )
72 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
73 virtual void SAL_CALL acquire() throw ()
74 { WeakComponentImplHelperBase::acquire(); }
75 virtual void SAL_CALL release() throw ()
76 { WeakComponentImplHelperBase::release(); }
77 virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException)
78 { WeakComponentImplHelperBase::dispose(); }
79 virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
80 { WeakComponentImplHelperBase::addEventListener(xListener); }
81 virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
82 { WeakComponentImplHelperBase::removeEventListener(xListener); }
83 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
84 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
85 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
86 {
return ImplHelper_getImplementationId( cd::get() ); }
89 #if defined __SUNPRO_CC
102 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4 >
104 :
public WeakComponentImplHelperBase
105 ,
public ::com::sun::star::lang::XTypeProvider
106 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4
108 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, PartialWeakComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
111 : WeakComponentImplHelperBase( rMutex )
114 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
115 virtual void SAL_CALL acquire() throw ()
116 { WeakComponentImplHelperBase::acquire(); }
117 virtual void SAL_CALL release() throw ()
118 { WeakComponentImplHelperBase::release(); }
119 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
120 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
121 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
122 {
return ImplHelper_getImplementationId( cd::get() ); }
142 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4 >
144 :
public WeakAggComponentImplHelperBase
145 ,
public ::com::sun::star::lang::XTypeProvider
146 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4
148 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData4 < Ifc1, Ifc2, Ifc3, Ifc4, WeakAggComponentImplHelper4<Ifc1, Ifc2, Ifc3, Ifc4> > > {};
151 : WeakAggComponentImplHelperBase( rMutex )
155 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::
com::sun::star::uno::Type const & rType )
throw (::com::sun::star::uno::RuntimeException)
156 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, (WeakAggComponentImplHelperBase *)
this ); }
157 virtual void SAL_CALL acquire() throw ()
158 { WeakAggComponentImplHelperBase::acquire(); }
159 virtual void SAL_CALL release() throw ()
160 { WeakAggComponentImplHelperBase::release(); }
161 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
162 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
163 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
164 {
return ImplHelper_getImplementationId( cd::get() ); }