Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_AWT_ITEMEVENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_AWT_ITEMEVENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/lang/EventObject.hdl"
7 : #include "cppu/macros.hxx"
8 : #include "sal/types.h"
9 :
10 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
11 :
12 : namespace com { namespace sun { namespace star { namespace awt {
13 :
14 : #ifdef SAL_W32
15 : # pragma pack(push, 8)
16 : #endif
17 :
18 0 : struct ItemEvent: public css::lang::EventObject {
19 : inline ItemEvent() SAL_THROW(());
20 :
21 : inline ItemEvent(const ::com::sun::star::uno::Reference< css::uno::XInterface >& Source_, const ::sal_Int32& Selected_, const ::sal_Int32& Highlighted_, const ::sal_Int32& ItemId_) SAL_THROW(());
22 :
23 : ::sal_Int32 Selected CPPU_GCC3_ALIGN(css::lang::EventObject);
24 : ::sal_Int32 Highlighted;
25 : ::sal_Int32 ItemId;
26 : };
27 :
28 : #ifdef SAL_W32
29 : # pragma pack(pop)
30 : #endif
31 :
32 :
33 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::awt::ItemEvent const *);
34 : } } } }
35 :
36 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::awt::ItemEvent *) SAL_THROW(());
37 :
38 : #endif
|