diff options
Diffstat (limited to 'offapi/com/sun/star/awt/XMenuListener.idl')
-rw-r--r-- | offapi/com/sun/star/awt/XMenuListener.idl | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/offapi/com/sun/star/awt/XMenuListener.idl b/offapi/com/sun/star/awt/XMenuListener.idl index 12f713f83fb4..033de9add489 100644 --- a/offapi/com/sun/star/awt/XMenuListener.idl +++ b/offapi/com/sun/star/awt/XMenuListener.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 @@ -24,56 +24,56 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_XMenuListener_idl__ -#define __com_sun_star_awt_XMenuListener_idl__ - -#ifndef __com_sun_star_lang_XEventListener_idl__ -#include <com/sun/star/lang/XEventListener.idl> -#endif - -#ifndef __com_sun_star_awt_MenuEvent_idl__ -#include <com/sun/star/awt/MenuEvent.idl> -#endif - - -//============================================================================= - - module com { module sun { module star { module awt { - -//============================================================================= - +#ifndef __com_sun_star_awt_XMenuListener_idl__ +#define __com_sun_star_awt_XMenuListener_idl__ + +#ifndef __com_sun_star_lang_XEventListener_idl__ +#include <com/sun/star/lang/XEventListener.idl> +#endif + +#ifndef __com_sun_star_awt_MenuEvent_idl__ +#include <com/sun/star/awt/MenuEvent.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module awt { + +//============================================================================= + /** makes it possible to receive menu events on a window. */ published interface XMenuListener: com::sun::star::lang::XEventListener -{ - //------------------------------------------------------------------------- - +{ + //------------------------------------------------------------------------- + /** is invoked when a menu item is highlighted. */ - [oneway] void highlight( [in] com::sun::star::awt::MenuEvent rEvent ); - - //------------------------------------------------------------------------- - + [oneway] void highlight( [in] com::sun::star::awt::MenuEvent rEvent ); + + //------------------------------------------------------------------------- + /** is invoked when a menu item is selected. */ - [oneway] void select( [in] com::sun::star::awt::MenuEvent rEvent ); - - //------------------------------------------------------------------------- - + [oneway] void select( [in] com::sun::star::awt::MenuEvent rEvent ); + + //------------------------------------------------------------------------- + /** is invoked when a menu is activated. */ - [oneway] void activate( [in] com::sun::star::awt::MenuEvent rEvent ); - - //------------------------------------------------------------------------- - + [oneway] void activate( [in] com::sun::star::awt::MenuEvent rEvent ); + + //------------------------------------------------------------------------- + /** is invoked when a menu is deactivated. */ - [oneway] void deactivate( [in] com::sun::star::awt::MenuEvent rEvent ); - -}; - -//============================================================================= - -}; }; }; }; - -#endif + [oneway] void deactivate( [in] com::sun::star::awt::MenuEvent rEvent ); + +}; + +//============================================================================= + +}; }; }; }; + +#endif |