Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_AWT_XWINDOW_HDL
2 : #define INCLUDED_COM_SUN_STAR_AWT_XWINDOW_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/awt/Rectangle.hdl"
7 : namespace com { namespace sun { namespace star { namespace awt { class XFocusListener; } } } }
8 : namespace com { namespace sun { namespace star { namespace awt { class XKeyListener; } } } }
9 : namespace com { namespace sun { namespace star { namespace awt { class XMouseListener; } } } }
10 : namespace com { namespace sun { namespace star { namespace awt { class XMouseMotionListener; } } } }
11 : namespace com { namespace sun { namespace star { namespace awt { class XPaintListener; } } } }
12 : namespace com { namespace sun { namespace star { namespace awt { class XWindowListener; } } } }
13 : #include "com/sun/star/lang/XComponent.hdl"
14 : #include "com/sun/star/uno/RuntimeException.hdl"
15 : #include "com/sun/star/uno/Reference.h"
16 : #include "cppu/macros.hxx"
17 : #include "sal/types.h"
18 :
19 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
20 :
21 : namespace com { namespace sun { namespace star { namespace awt {
22 :
23 24994 : class SAL_NO_VTABLE XWindow : public css::lang::XComponent
24 : {
25 : public:
26 :
27 : // Methods
28 : virtual void SAL_CALL setPosSize( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int16 Flags ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual css::awt::Rectangle SAL_CALL getPosSize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setVisible( ::sal_Bool Visible ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL setEnable( ::sal_Bool Enable ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL setFocus() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL addWindowListener( const ::com::sun::star::uno::Reference< css::awt::XWindowListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL removeWindowListener( const ::com::sun::star::uno::Reference< css::awt::XWindowListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL addFocusListener( const ::com::sun::star::uno::Reference< css::awt::XFocusListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL removeFocusListener( const ::com::sun::star::uno::Reference< css::awt::XFocusListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL addKeyListener( const ::com::sun::star::uno::Reference< css::awt::XKeyListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL removeKeyListener( const ::com::sun::star::uno::Reference< css::awt::XKeyListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual void SAL_CALL addMouseListener( const ::com::sun::star::uno::Reference< css::awt::XMouseListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL removeMouseListener( const ::com::sun::star::uno::Reference< css::awt::XMouseListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual void SAL_CALL addMouseMotionListener( const ::com::sun::star::uno::Reference< css::awt::XMouseMotionListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual void SAL_CALL removeMouseMotionListener( const ::com::sun::star::uno::Reference< css::awt::XMouseMotionListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual void SAL_CALL addPaintListener( const ::com::sun::star::uno::Reference< css::awt::XPaintListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual void SAL_CALL removePaintListener( const ::com::sun::star::uno::Reference< css::awt::XPaintListener >& xListener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 :
46 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
47 :
48 : protected:
49 23199 : ~XWindow() throw () {} // avoid warnings about virtual members and non-virtual dtor
50 : };
51 :
52 :
53 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::awt::XWindow const *);
54 : } } } }
55 :
56 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::awt::XWindow > *) SAL_THROW(());
57 :
58 : #endif
|