Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_SCRIPT_EVENTLISTENER_HDL
2 : #define INCLUDED_COM_SUN_STAR_SCRIPT_EVENTLISTENER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace script { class XAllListener; } } } }
7 : #include "com/sun/star/uno/Any.h"
8 : #include "com/sun/star/uno/Reference.h"
9 : #include "cppu/macros.hxx"
10 : #include "rtl/ustring.hxx"
11 :
12 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
13 :
14 : namespace com { namespace sun { namespace star { namespace script {
15 :
16 : #ifdef SAL_W32
17 : # pragma pack(push, 8)
18 : #endif
19 :
20 74 : struct EventListener {
21 : inline EventListener() SAL_THROW(());
22 :
23 : inline EventListener(const ::com::sun::star::uno::Reference< css::script::XAllListener >& AllListener_, const ::com::sun::star::uno::Any& Helper_, const ::rtl::OUString& ListenerType_, const ::rtl::OUString& AddListenerParam_, const ::rtl::OUString& EventMethod_) SAL_THROW(());
24 :
25 : ::com::sun::star::uno::Reference< css::script::XAllListener > AllListener;
26 : ::com::sun::star::uno::Any Helper;
27 : ::rtl::OUString ListenerType;
28 : ::rtl::OUString AddListenerParam;
29 : ::rtl::OUString EventMethod;
30 : };
31 :
32 : #ifdef SAL_W32
33 : # pragma pack(pop)
34 : #endif
35 :
36 :
37 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::script::EventListener const *);
38 : } } } }
39 :
40 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::script::EventListener *) SAL_THROW(());
41 :
42 : #endif
|