Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_DOM_EVENTS_XMOUSEEVENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_XML_DOM_EVENTS_XMOUSEEVENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { namespace events { class XEventTarget; } } } } } }
8 : #include "com/sun/star/xml/dom/events/XUIEvent.hdl"
9 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { namespace views { class XAbstractView; } } } } } }
10 : #include "com/sun/star/uno/Reference.h"
11 : #include "cppu/macros.hxx"
12 : #include "rtl/ustring.hxx"
13 : #include "sal/types.h"
14 :
15 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
16 :
17 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { namespace events {
18 :
19 0 : class SAL_NO_VTABLE XMouseEvent : public css::xml::dom::events::XUIEvent
20 : {
21 : public:
22 :
23 : // Methods
24 : virtual ::sal_Int32 SAL_CALL getScreenX() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
25 : virtual ::sal_Int32 SAL_CALL getScreenY() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual ::sal_Int32 SAL_CALL getClientX() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual ::sal_Int32 SAL_CALL getClientY() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::sal_Bool SAL_CALL getCtrlKey() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::sal_Bool SAL_CALL getShiftKey() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Bool SAL_CALL getAltKey() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Bool SAL_CALL getMetaKey() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Int16 SAL_CALL getButton() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::xml::dom::events::XEventTarget > SAL_CALL getRelatedTarget() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL initMouseEvent( const ::rtl::OUString& typeArg, ::sal_Bool canBubbleArg, ::sal_Bool cancelableArg, const ::com::sun::star::uno::Reference< css::xml::dom::views::XAbstractView >& viewArg, ::sal_Int32 detailArg, ::sal_Int32 screenXArg, ::sal_Int32 screenYArg, ::sal_Int32 clientXArg, ::sal_Int32 clientYArg, ::sal_Bool ctrlKeyArg, ::sal_Bool altKeyArg, ::sal_Bool shiftKeyArg, ::sal_Bool metaKeyArg, ::sal_Int16 buttonArg, const ::com::sun::star::uno::Reference< css::xml::dom::events::XEventTarget >& relatedTargetArg ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~XMouseEvent() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : };
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::dom::events::XMouseEvent const *);
44 : } } } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::dom::events::XMouseEvent > *) SAL_THROW(());
47 :
48 : #endif
|