diff options
Diffstat (limited to 'embedserv/source/inc/xwin.hxx')
-rw-r--r-- | embedserv/source/inc/xwin.hxx | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/embedserv/source/inc/xwin.hxx b/embedserv/source/inc/xwin.hxx index e7cdbac53117..d6abfaa93fa7 100644 --- a/embedserv/source/inc/xwin.hxx +++ b/embedserv/source/inc/xwin.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,163 +39,163 @@ class ContainerWindowWrapper: - public ::cppu::WeakImplHelper2< + public ::cppu::WeakImplHelper2< ::com::sun::star::awt::XWindow, ::com::sun::star::awt::XSystemDependentWindowPeer> { public: ContainerWindowWrapper(HWND aHwnd); - + ~ ContainerWindowWrapper(); - - + + // XComponent - + virtual void SAL_CALL dispose( - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - addEventListener( + addEventListener( const ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XEventListener >& xListener + ::com::sun::star::lang::XEventListener >& xListener ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - removeEventListener( + removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - - + + // XSystemDependentWindowPeer - + virtual ::com::sun::star::uno::Any SAL_CALL - getWindowHandle( + getWindowHandle( const ::com::sun::star::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); // XWindow - + virtual void SAL_CALL - setPosSize( + setPosSize( sal_Int32 X, sal_Int32 Y, - sal_Int32 Width, - sal_Int32 Height, + sal_Int32 Width, + sal_Int32 Height, sal_Int16 Flags ) throw ( ::com::sun::star::uno::RuntimeException); - + virtual ::com::sun::star::awt::Rectangle SAL_CALL - getPosSize( - ) + getPosSize( + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL setVisible( sal_Bool Visible - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - setEnable( + setEnable( sal_Bool Enable - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL setFocus( - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - addWindowListener( - const ::com::sun::star::uno::Reference< + addWindowListener( + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL - addFocusListener( + addFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL removeFocusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL addKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - removeKeyListener( + removeKeyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL addMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - - virtual void SAL_CALL + + virtual void SAL_CALL removeMouseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener @@ -203,49 +203,49 @@ public: throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL addMouseMotionListener( const ::com::sun::star::uno::Reference< - ::com::sun::star::awt::XMouseMotionListener >& xListener - ) + ::com::sun::star::awt::XMouseMotionListener >& xListener + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - removeMouseMotionListener( + removeMouseMotionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL addPaintListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + virtual void SAL_CALL - removePaintListener( - const ::com::sun::star::uno::Reference< + removePaintListener( + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener - ) + ) throw ( ::com::sun::star::uno::RuntimeException ); - + private: - + osl::Mutex m_aMutex; cppu::OInterfaceContainerHelper *m_pDisposeEventListeners; - + HWND m_aHwnd; }; |