Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_DOCUMENT_DOCUMENTEVENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_DOCUMENT_DOCUMENTEVENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace frame { class XController2; } } } }
7 : #include "com/sun/star/lang/EventObject.hdl"
8 : #include "com/sun/star/uno/Any.h"
9 : #include "com/sun/star/uno/Reference.h"
10 : #include "cppu/macros.hxx"
11 : #include "rtl/ustring.hxx"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace com { namespace sun { namespace star { namespace document {
16 :
17 : #ifdef SAL_W32
18 : # pragma pack(push, 8)
19 : #endif
20 :
21 17916 : struct DocumentEvent: public css::lang::EventObject {
22 : inline DocumentEvent() SAL_THROW(());
23 :
24 : inline DocumentEvent(const ::com::sun::star::uno::Reference< css::uno::XInterface >& Source_, const ::rtl::OUString& EventName_, const ::com::sun::star::uno::Reference< css::frame::XController2 >& ViewController_, const ::com::sun::star::uno::Any& Supplement_) SAL_THROW(());
25 :
26 : ::rtl::OUString EventName CPPU_GCC3_ALIGN(css::lang::EventObject);
27 : ::com::sun::star::uno::Reference< css::frame::XController2 > ViewController;
28 : ::com::sun::star::uno::Any Supplement;
29 : };
30 :
31 : #ifdef SAL_W32
32 : # pragma pack(pop)
33 : #endif
34 :
35 :
36 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::document::DocumentEvent const *);
37 : } } } }
38 :
39 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::document::DocumentEvent *) SAL_THROW(());
40 :
41 : #endif
|