Line data Source code
1 : #ifndef INCLUDED_INTERFACE2_HDL
2 : #define INCLUDED_INTERFACE2_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/XInterface.hdl"
7 : #include "com/sun/star/uno/Reference.h"
8 : #include "cppu/macros.hxx"
9 :
10 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
11 :
12 :
13 9 : class SAL_NO_VTABLE Interface2 : public css::uno::XInterface
14 : {
15 : public:
16 :
17 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
18 :
19 : protected:
20 9 : ~Interface2() throw () {} // avoid warnings about virtual members and non-virtual dtor
21 : };
22 :
23 :
24 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER Interface2 const *);
25 :
26 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< Interface2 > *) SAL_THROW(());
27 :
28 : #endif
|