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