blob: ae9e96e05200a6b8a7e6a42e3c9a44d5a9d9c356 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_form_binding_ListEntrySource_idl__
#define __com_sun_star_form_binding_ListEntrySource_idl__
#ifndef __com_sun_star_form_binding_XListEntrySource_idl__
#include <com/sun/star/form/binding/XListEntrySource.idl>
#endif
#ifndef __com_sun_star_lang_XComponent_idl__
#include <com/sun/star/lang/XComponent.idl>
#endif
#ifndef __com_sun_star_util_XModifyBroadcaster_idl__
#include <com/sun/star/util/XModifyBroadcaster.idl>
#endif
//=============================================================================
module com { module sun { module star { module form { module binding {
//=============================================================================
/** defines a component which provides a list of string entries
*/
service ListEntrySource
{
//-------------------------------------------------------------------------
/** allows read access to the entries represented by this component
*/
interface XListEntrySource;
/** allows life time control for the component
<p>An <type>ListEntrySource</type> will be known to one ore more components
supporting the <type>XListEntrySink</type> interface, which all work with
this source. However, they will not <em>own</em> the <type>ListEntrySource</type>.
The ownership is with another instance, which may also decide to obsolete
the <type>ListEntrySource</type> for whatever reasons (e.g. because the data model
which the binding reflected died). For this reason, a <type>ListEntrySource</type>
must offer a possibility to be obsoleted by it's owner, and to notify this
obsoletion to other interested parties, such as <type>XListEntrySink</type>s.</p>
*/
interface com::sun::star::lang::XComponent;
};
//=============================================================================
}; }; }; }; };
#endif