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#ifndef __com_sun_star_form_XDatabaseParameterBroadcaster2_idl__ 24#define __com_sun_star_form_XDatabaseParameterBroadcaster2_idl__ 25 26#ifndef __com_sun_star_form_XDatabaseParameterBroadcaster_idl__ 27#include <com/sun/star/form/XDatabaseParameterBroadcaster.idl> 28#endif 29 30//============================================================================= 31 32module com { module sun { module star { module form { 33 34//============================================================================= 35 36/** provides the possibility of receiving an event for configuration of parameters. 37 38 <p>Note that this interface provides exactly the same functionality as the 39 <type>XDatabaseParameterBroadcaster</type> interface. It exists purely for compatibility 40 with the <member scope="com::sun::star::script">XEventAttacher::attachSingleEventListener</member>: 41 It expects the methods for adding and removing listeners to follow a certain naming scheme, 42 respective to the name of the listener which is being added/removed.</p> 43 44 @see XDatabaseParameterBroadcaster 45 @see com::sun::star::script::XEventAttacher 46*/ 47interface XDatabaseParameterBroadcaster2: XDatabaseParameterBroadcaster 48{ 49 //------------------------------------------------------------------------- 50 /** registers an XDatabaseParameterListener 51 52 <p>This method behaves exactly as the <member>XDatabaseParameterBroadcaster::addParameterListener</member> 53 method inherited from the base interface.</p> 54 */ 55 [oneway] void addDatabaseParameterListener( [in] com::sun::star::form::XDatabaseParameterListener aListener ); 56 57 //------------------------------------------------------------------------- 58 59 /** revokes an XDatabaseParameterListener 60 61 <p>This method behaves exactly as the <member>XDatabaseParameterBroadcaster::removeParameterListener</member> 62 method inherited from the base interface.</p> 63 */ 64 [oneway] void removeDatabaseParameterListener( [in] com::sun::star::form::XDatabaseParameterListener aListener ); 65 66}; 67 68//============================================================================= 69 70}; }; }; }; 71 72/*============================================================================= 73 74=============================================================================*/ 75#endif 76