Branch data 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 : : namespace com { namespace sun { namespace star { namespace view { class XSelectionSupplier; } } } }
7 : : namespace com { namespace sun { namespace star { namespace container { class XIndexContainer; } } } }
8 : : namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
9 : : #include "com/sun/star/awt/Point.hdl"
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< ::com::sun::star::awt::XWindow >& SourceWindow_, const ::com::sun::star::awt::Point& ExecutePosition_, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& ActionTriggerContainer_, const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionSupplier >& Selection_) SAL_THROW(());
25 : :
26 : : ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SourceWindow;
27 : : ::com::sun::star::awt::Point ExecutePosition;
28 : : ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > ActionTriggerContainer;
29 : : ::com::sun::star::uno::Reference< ::com::sun::star::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 ::com::sun::star::ui::ContextMenuExecuteEvent const *);
38 : : } } } }
39 : :
40 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::ui::ContextMenuExecuteEvent *) SAL_THROW(());
41 : :
42 : : #endif
|