1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24
25#ifndef __com_sun_star_mozilla_XMenuProxyListener_idl__
26#define __com_sun_star_mozilla_XMenuProxyListener_idl__
27
28#ifndef __com_sun_star_uno_XInterface_idl__
29#include <com/sun/star/uno/XInterface.idl>
30#endif
31
32#ifndef __com_sun_star_mozilla_MenuMultipleChange_idl__
33#include <com/sun/star/mozilla/MenuMultipleChange.idl>
34#endif
35
36#ifndef __com_sun_star_mozilla_MenuSingleChange_idl__
37#include <com/sun/star/mozilla/MenuSingleChange.idl>
38#endif
39
40//=============================================================================
41
42 module com {  module sun {  module star {  module mozilla {
43
44//=============================================================================
45
46
47// DocMerge from xml: interface com::sun::star::mozilla::XMenuProxyListener
48/** Listens for changes in menu items.
49 */
50published interface XMenuProxyListener: com::sun::star::uno::XInterface
51{
52	//-------------------------------------------------------------------------
53
54	// DocMerge from xml: method com::sun::star::mozilla::XMenuProxyListener::menuChangedMultiple
55	/** is called, if the content or graphical representation/state of the menu changes
56		completely, for one or more menu items
57	 */
58	void menuChangedMultiple([in] sequence<MenuMultipleChange> MenuMultipleChanges);
59
60	//-------------------------------------------------------------------------
61
62	// DocMerge from xml: method com::sun::star::mozilla::XMenuProxyListener::menuChangedSingle
63	/** is called, if the content or graphical representation/state of the menu changes,
64		by one property for one or more menu items
65	 */
66	void menuChangedSingle([in] sequence<MenuSingleChange> MenuSingleChanges);
67
68	//-------------------------------------------------------------------------
69
70	// DocMerge from xml: method com::sun::star::mozilla::XMenuProxyListener::menuItemDeleted
71	/** is called, if one menu item designated by the ID, is deleted.
72
73		@param ID	[in]:	the menu item
74
75	 */
76	void menuItemDeleted([in] short ID);
77};
78
79//=============================================================================
80
81}; }; }; };
82
83
84
85#endif
86