23#ifndef INCLUDED_CPPUHELPER_COMPBASE2_HXX
24#define INCLUDED_CPPUHELPER_COMPBASE2_HXX
46 template<
class Ifc1,
class Ifc2 >
48 :
public WeakComponentImplHelperBase
49 ,
public css::lang::XTypeProvider
50 ,
public Ifc1,
public Ifc2
52 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakComponentImplHelper2<Ifc1, Ifc2> > > {};
55 : WeakComponentImplHelperBase( rMutex )
57 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
59 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
60 { WeakComponentImplHelperBase::acquire(); }
61 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
62 { WeakComponentImplHelperBase::release(); }
63 virtual void SAL_CALL
dispose() SAL_OVERRIDE
64 { WeakComponentImplHelperBase::dispose(); }
65 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener > & xListener) SAL_OVERRIDE
66 { WeakComponentImplHelperBase::addEventListener(xListener); }
67 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & xListener) SAL_OVERRIDE
68 { WeakComponentImplHelperBase::removeEventListener(xListener); }
69 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
84 template<
class Ifc1,
class Ifc2 >
86 :
public WeakComponentImplHelperBase
87 ,
public css::lang::XTypeProvider
88 ,
public Ifc1,
public Ifc2
90 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, PartialWeakComponentImplHelper2<Ifc1, Ifc2> > > {};
93 : WeakComponentImplHelperBase( rMutex )
95 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
97 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
98 { WeakComponentImplHelperBase::acquire(); }
99 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
100 { WeakComponentImplHelperBase::release(); }
101 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
125 template<
class Ifc1,
class Ifc2 >
127 :
public WeakAggComponentImplHelperBase
128 ,
public css::lang::XTypeProvider
129 ,
public Ifc1,
public Ifc2
131 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData2 < Ifc1, Ifc2, WeakAggComponentImplHelper2<Ifc1, Ifc2> > > {};
134 : WeakAggComponentImplHelperBase( rMutex )
136 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
138 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
140 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
141 { WeakAggComponentImplHelperBase::acquire(); }
142 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
143 { WeakAggComponentImplHelperBase::release(); }
144 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
Same as WeakComponentImplHelper2, except doesn't implement addEventListener, removeEventListener and ...
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
PartialWeakComponentImplHelper2(::osl::Mutex &rMutex) SAL_NOEXCEPT
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
WeakAggComponentImplHelper2(::osl::Mutex &rMutex) SAL_NOEXCEPT
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual void SAL_CALL dispose() SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
WeakComponentImplHelper2(::osl::Mutex &rMutex) SAL_NOEXCEPT
Any SAL_CALL WeakComponentImplHelper_query(Type const &rType, class_data *cd, void *that, WeakComponentImplHelperBase *pBase)
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Sequence< Type > SAL_CALL WeakAggComponentImplHelper_getTypes(class_data *cd)
css::uno::Sequence< sal_Int8 > ImplHelper_getImplementationId(SAL_UNUSED_PARAMETER class_data *)
Any SAL_CALL WeakAggComponentImplHelper_queryAgg(Type const &rType, class_data *cd, void *that, WeakAggComponentImplHelperBase *pBase)
Sequence< Type > SAL_CALL WeakComponentImplHelper_getTypes(class_data *cd)