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