1 | #ifndef INCLUDED_COM_SUN_STAR_LANG_EVENTOBJECT_HDL |
---|---|
2 | #define INCLUDED_COM_SUN_STAR_LANG_EVENTOBJECT_HDL |
3 | |
4 | #include "sal/config.h" |
5 | |
6 | namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } } |
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 | namespace com { namespace sun { namespace star { namespace lang { |
13 | |
14 | #ifdef SAL_W32 |
15 | # pragma pack(push, 8) |
16 | #endif |
17 | |
18 | struct EventObject { |
19 | inline EventObject() SAL_THROW(()); |
20 | |
21 | inline EventObject(const ::css::uno::Reference< ::css::uno::XInterface >& Source_) SAL_THROW(()); |
22 | |
23 | ::css::uno::Reference< ::css::uno::XInterface > Source; |
24 | }; |
25 | |
26 | #ifdef SAL_W32 |
27 | # pragma pack(pop) |
28 | #endif |
29 | |
30 | |
31 | inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::lang::EventObject const *); |
32 | } } } } |
33 | |
34 | inline ::css::uno::Type const & SAL_CALL getCppuType(const ::css::lang::EventObject *) SAL_THROW(()); |
35 | |
36 | #endif |
37 |