diff options
Diffstat (limited to 'offapi/com/sun/star/awt/XContainerWindowEventHandler.idl')
-rw-r--r-- | offapi/com/sun/star/awt/XContainerWindowEventHandler.idl | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl b/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl index bc1f0697d..201f0e64a 100644 --- a/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl +++ b/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl @@ -1,7 +1,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 @@ -28,29 +28,23 @@ #ifndef __com_sun_star_awt_XContainerWindowEventHandler_idl__ #define __com_sun_star_awt_XContainerWindowEventHandler_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ #include <com/sun/star/uno/XInterface.idl> -#endif -#ifndef __com_sun_star_awt_XWindow_idl__ -#include <com/sun/star/awt/XWindow.idl> -#endif -#ifndef __com_sun_star_lang_WrappedTargetException_idl__ -#include <com/sun/star/lang/WrappedTargetException.idl> -#endif +#include <com/sun/star/awt/XWindow.idl> +#include <com/sun/star/lang/WrappedTargetException.idl> -//============================================================================= +//============================================================================= module com { module sun { module star { module awt { -//============================================================================= +//============================================================================= /** Handles events fired by windows represented by a <type scope="com::sun::star::awt">XWindow</type> interface. */ -interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { +published interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- /** Handles an event generated by a window. @@ -62,7 +56,7 @@ interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { the window instance that generated the event. If used in the scope of <type scope="com::sun::star::awt">XContainerWindowProvider</type> this is the same window instance that was returned by the createContainerWindow - method when passing the XContainerWindowEventHandler instance receiving the + method when passing the XContainerWindowEventHandler instance receiving the event as handler parameter. @param EventObject @@ -75,11 +69,11 @@ interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { @param MethodName the name of the function which is to be called. - + @returns true if the event was handled, otherwise false. - @throws com::sun::star::lang::WrappedTargetException + @throws com::sun::star::lang::WrappedTargetException if the implementation of the method, which is determined by the argument MethodName, throws an exception. This exception is then wrapped into a <type scope="com::sun::star::lang">WrappedTargetException</type>. @@ -89,7 +83,7 @@ interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { [in] com::sun::star::awt::XWindow xWindow, [in] any EventObject, [in] string MethodName) - raises(com::sun::star::lang::WrappedTargetException); + raises(com::sun::star::lang::WrappedTargetException); /** returns a sequence of supported method names @@ -100,7 +94,7 @@ interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface { sequence<string> getSupportedMethodNames(); }; -//============================================================================= +//============================================================================= }; }; }; }; |