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);
72 virtual void SAL_CALL acquire()
74 virtual
void SAL_CALL release()
76 virtual
void SAL_CALL dispose()
77 throw (::com::sun::star::uno::RuntimeException);
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);
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);
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);
117 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
119 throw (::com::sun::star::uno::RuntimeException);
120 virtual void SAL_CALL acquire()
122 virtual
void SAL_CALL release()
124 virtual
void SAL_CALL dispose()
125 throw (::com::sun::star::uno::RuntimeException);
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);
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);
137 ::com::sun::star::uno::Type const & rType,
140 ::cppu::WeakComponentImplHelperBase * pBase )
141 SAL_THROW( (::com::sun::star::uno::RuntimeException) );
144 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL WeakComponentImplHelper_getTypes(
146 SAL_THROW( (::com::sun::star::uno::RuntimeException) );
151 ::com::sun::star::uno::Type const & rType,
154 ::cppu::WeakAggComponentImplHelperBase * pBase )
155 SAL_THROW( (::com::sun::star::uno::RuntimeException) );
158 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL WeakAggComponentImplHelper_getTypes(
160 SAL_THROW( (::com::sun::star::uno::RuntimeException) );
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.
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
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:315
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
A mutual exclusion synchronization object.
Definition: mutex.hxx:32
This struct contains the standard variables of a broadcaster.
Definition: interfacecontainer.h:423
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
#define SAL_THROW(exc)
Definition of function throw clause macros.
Definition: types.h:358