Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UI_CONTEXTMENUEXECUTEEVENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_UI_CONTEXTMENUEXECUTEEVENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/awt/Point.hdl"
7 : namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
8 : namespace com { namespace sun { namespace star { namespace container { class XIndexContainer; } } } }
9 : namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } }
10 : #include "com/sun/star/uno/Reference.h"
11 : #include "cppu/macros.hxx"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace com { namespace sun { namespace star { namespace ui {
16 :
17 : #ifdef SAL_W32
18 : # pragma pack(push, 8)
19 : #endif
20 :
21 0 : struct ContextMenuExecuteEvent {
22 : inline ContextMenuExecuteEvent() SAL_THROW(());
23 :
24 : inline ContextMenuExecuteEvent(const ::com::sun::star::uno::Reference< css::awt::XWindow >& SourceWindow_, const css::awt::Point& ExecutePosition_, const ::com::sun::star::uno::Reference< css::container::XIndexContainer >& ActionTriggerContainer_, const ::com::sun::star::uno::Reference< css::view::XSelectionSupplier >& Selection_) SAL_THROW(());
25 :
26 : ::com::sun::star::uno::Reference< css::awt::XWindow > SourceWindow;
27 : css::awt::Point ExecutePosition;
28 : ::com::sun::star::uno::Reference< css::container::XIndexContainer > ActionTriggerContainer;
29 : ::com::sun::star::uno::Reference< css::view::XSelectionSupplier > Selection;
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::ui::ContextMenuExecuteEvent const *);
38 : } } } }
39 :
40 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::ui::ContextMenuExecuteEvent *) SAL_THROW(());
41 :
42 : #endif
|