19 #ifndef INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
20 #define INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
24 #include <com/sun/star/lang/XComponent.hpp>
29 namespace osl {
class Mutex; }
39 ,
public ::com::sun::star::lang::XComponent
48 virtual void SAL_CALL disposing();
54 WeakComponentImplHelperBase( ::
osl::Mutex & rMutex );
58 virtual ~WeakComponentImplHelperBase();
61 inline static void * SAL_CALL
operator new(
size_t nSize )
63 inline static void SAL_CALL
operator delete(
void * pMem )
65 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
67 inline static void SAL_CALL
operator delete(
void *,
void * )
72 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
73 virtual void SAL_CALL acquire()
75 virtual
void SAL_CALL release()
76 throw () SAL_OVERRIDE;
77 virtual
void SAL_CALL dispose()
78 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
79 virtual
void SAL_CALL addEventListener(
80 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener )
81 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
82 virtual
void SAL_CALL removeEventListener(
83 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener )
84 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
91 : public ::cppu::OWeakAggObject
92 , public ::com::sun::star::lang::XComponent
99 virtual void SAL_CALL disposing();
101 WeakAggComponentImplHelperBase( ::
osl::Mutex & rMutex );
103 virtual ~WeakAggComponentImplHelperBase();
106 inline static void * SAL_CALL
operator new(
size_t nSize )
108 inline static void SAL_CALL
operator delete(
void * pMem )
110 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
112 inline static void SAL_CALL
operator delete(
void *,
void * )
117 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
118 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
120 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
121 virtual void SAL_CALL acquire()
122 throw () SAL_OVERRIDE;
123 virtual
void SAL_CALL release()
124 throw () SAL_OVERRIDE;
125 virtual
void SAL_CALL dispose()
126 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
127 virtual
void SAL_CALL addEventListener(
128 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener )
129 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
130 virtual
void SAL_CALL removeEventListener(
131 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener )
132 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
138 ::com::sun::star::uno::Type const & rType,
141 ::cppu::WeakComponentImplHelperBase * pBase );
144 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL WeakComponentImplHelper_getTypes(
150 ::com::sun::star::uno::Type const & rType,
153 ::cppu::WeakAggComponentImplHelperBase * pBase );
156 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL WeakAggComponentImplHelper_getTypes(