Move setting of LD_LIBRARY_PATH closer to invocation of cppunittester
[LibreOffice.git] / udkapi / com / sun / star / container / XContainer.idl
blob02b4469c512775e05211b4c18d106062b70b0a17
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com { module sun { module star { module container {
25 /** supports quick access to the information if a container currently
26 contains elements.
28 <p>The XContainer interface is provided for containers
29 which need to broadcast changes within the container; that means
30 the actions of adding or removing elements are broadcast to the
31 listeners. </p>
33 <p>This can be useful for UI to enable/disable some functions
34 without actually accessing the data. </p>
36 @see XContent
37 @see XIndexAccess
38 @see XNameAccess
39 @see XEnumerationAccess
41 published interface XContainer: com::sun::star::uno::XInterface
44 /** adds the specified listener to receive events when
45 elements are inserted or removed.
47 <p>It is suggested to allow multiple registration of the same listener,
48 thus for each time a listener is added, it has to be removed.
50 @see XContainerListener
52 void addContainerListener( [in] com::sun::star::container::XContainerListener xListener );
55 /** removes the specified listener so it does not receive
56 any events from this container.
58 <p>It is suggested to allow multiple registration of the same listener,
59 thus for each time a listener is added, it has to be removed.
61 @see XContainerListener
63 void removeContainerListener( [in] com::sun::star::container::XContainerListener xListener );
68 }; }; }; };
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */