19 #ifndef _CPPUHELPER_COMPBASE2_HXX_
20 #define _CPPUHELPER_COMPBASE2_HXX_
30 #if defined __SUNPRO_CC
48 template<
class Ifc1,
class Ifc2 >
50 :
public WeakComponentImplHelperBase
51 ,
public ::com::sun::star::lang::XTypeProvider
52 ,
public Ifc1,
public Ifc2
54 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakComponentImplHelper2<Ifc1, Ifc2> > > {};
57 : WeakComponentImplHelperBase( rMutex )
60 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
61 virtual void SAL_CALL acquire() throw ()
62 { WeakComponentImplHelperBase::acquire(); }
63 virtual void SAL_CALL release() throw ()
64 { WeakComponentImplHelperBase::release(); }
65 virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException)
66 { WeakComponentImplHelperBase::dispose(); }
67 virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
68 { WeakComponentImplHelperBase::addEventListener(xListener); }
69 virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)
throw (::com::sun::star::uno::RuntimeException)
70 { WeakComponentImplHelperBase::removeEventListener(xListener); }
71 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
72 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
73 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
74 {
return ImplHelper_getImplementationId( cd::get() ); }
77 #if defined __SUNPRO_CC
90 template<
class Ifc1,
class Ifc2 >
92 :
public WeakComponentImplHelperBase
93 ,
public ::com::sun::star::lang::XTypeProvider
94 ,
public Ifc1,
public Ifc2
96 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, PartialWeakComponentImplHelper2<Ifc1, Ifc2> > > {};
99 : WeakComponentImplHelperBase( rMutex )
102 {
return WeakComponentImplHelper_query( rType, cd::get(),
this, (WeakComponentImplHelperBase *)
this ); }
103 virtual void SAL_CALL acquire() throw ()
104 { WeakComponentImplHelperBase::acquire(); }
105 virtual void SAL_CALL release() throw ()
106 { WeakComponentImplHelperBase::release(); }
107 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
108 {
return WeakComponentImplHelper_getTypes( cd::get() ); }
109 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
110 {
return ImplHelper_getImplementationId( cd::get() ); }
131 template<
class Ifc1,
class Ifc2 >
133 :
public WeakAggComponentImplHelperBase
134 ,
public ::com::sun::star::lang::XTypeProvider
135 ,
public Ifc1,
public Ifc2
137 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakAggComponentImplHelper2<Ifc1, Ifc2> > > {};
140 : WeakAggComponentImplHelperBase( rMutex )
144 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::
com::sun::star::uno::Type const & rType )
throw (::com::sun::star::uno::RuntimeException)
145 {
return WeakAggComponentImplHelper_queryAgg( rType, cd::get(),
this, (WeakAggComponentImplHelperBase *)
this ); }
146 virtual void SAL_CALL acquire() throw ()
147 { WeakAggComponentImplHelperBase::acquire(); }
148 virtual void SAL_CALL release() throw ()
149 { WeakAggComponentImplHelperBase::release(); }
150 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException)
151 {
return WeakAggComponentImplHelper_getTypes( cd::get() ); }
152 virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
153 {
return ImplHelper_getImplementationId( cd::get() ); }