19 #ifndef INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
20 #define INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
25 #include <com/sun/star/lang/XComponent.hpp>
38 ,
public ::com::sun::star::lang::XComponent
47 virtual void SAL_CALL disposing();
57 virtual ~WeakComponentImplHelperBase()
SAL_THROW(());
60 inline static
void * SAL_CALL operator new(
size_t nSize )
SAL_THROW(())
62 inline static void SAL_CALL
operator delete(
void * pMem )
SAL_THROW(())
64 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
SAL_THROW(())
66 inline static void SAL_CALL
operator delete(
void *,
void * )
SAL_THROW(())
71 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
72 virtual void SAL_CALL acquire()
74 virtual
void SAL_CALL release()
75 throw () SAL_OVERRIDE;
76 virtual
void SAL_CALL dispose()
77 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
78 virtual
void SAL_CALL addEventListener(
79 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
80 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
81 virtual
void SAL_CALL removeEventListener(
82 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
83 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
90 : public ::
cppu::OWeakAggObject
91 , public ::
com::sun::star::lang::XComponent
98 virtual void SAL_CALL disposing();
102 virtual ~WeakAggComponentImplHelperBase()
SAL_THROW(());
105 inline static
void * SAL_CALL operator new(
size_t nSize )
SAL_THROW(())
107 inline static void SAL_CALL
operator delete(
void * pMem )
SAL_THROW(())
109 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
SAL_THROW(())
111 inline static void SAL_CALL
operator delete(
void *,
void * )
SAL_THROW(())
116 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
117 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
119 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
120 virtual void SAL_CALL acquire()
121 throw () SAL_OVERRIDE;
122 virtual
void SAL_CALL release()
123 throw () SAL_OVERRIDE;
124 virtual
void SAL_CALL dispose()
125 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
126 virtual
void SAL_CALL addEventListener(
127 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
128 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
129 virtual
void SAL_CALL removeEventListener(
130 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
131 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
137 ::
com::sun::star::uno::Type const & rType,
140 ::
cppu::WeakComponentImplHelperBase * pBase )
144 CPPUHELPER_DLLPUBLIC ::
com::sun::star::uno::Sequence< ::
com::sun::star::uno::Type > SAL_CALL WeakComponentImplHelper_getTypes(
151 ::
com::sun::star::uno::Type const & rType,
154 ::
cppu::WeakAggComponentImplHelperBase * pBase )
158 CPPUHELPER_DLLPUBLIC ::
com::sun::star::uno::Sequence< ::
com::sun::star::uno::Type > SAL_CALL WeakAggComponentImplHelper_getTypes(
inline::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
C++ class representing an IDL meta type.
Definition: Type.h:55
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
This struct contains the standard variables of a broadcaster.
Definition: interfacecontainer.h:426
Definition: Enterable.hxx:26
#define SAL_THROW(x)
Exception specification documentation.
Definition: types.h:361
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:317
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
A mutual exclusion synchronization object.
Definition: mutex.hxx:32
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.