1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module lang
{
23 published
interface XConnectionPoint
;
25 /** makes it possible to locate a specific connection point
26 for a specified UIK and manages a sequence of connections points.
28 <p>An implementation of this interface <strong>must</strong>
29 support the com::sun::star::uno::XWeak interface.
30 Look at the language binding for a superclass or something else. </p>
33 @see com::sun::star::uno::XWeak
35 published
interface XConnectionPointContainer
: com
::sun
::star
::uno
::XInterface
38 a sequence of all outgoing types; specifies which are supported
39 by this connectable object.
41 sequence
<type
> getConnectionPointTypes
();
44 an XConnectionPoint interface of a
45 connection point for a specified type if that type
46 describes a supported outgoing interface. It is
47 NULL on failure of the call.
50 specifies the connection point's type.
52 XConnectionPoint queryConnectionPoint
( [in] type aType
);
54 /** creates a connection between this object and a
55 client's sink, where the sink implements the outgoing
56 interface specified with ID.
58 <p>The interface is advised under the connection point you
59 get with <code>queryConnectionPoint( id )</code>. </p>
61 <p>Use this method instead of the advise method at the
62 connection point, only if you know that the broadcaster supports
63 the outgoing interface, or if it does not matter that the
64 outgoing interface is not supported. </p>
66 @see XConnectionPoint::advise
68 void advise
( [in] type aType
,
69 [in] com
::sun
::star
::uno
::XInterface xListener
);
71 /** terminates a notification previously set up with
72 advise at the container or at the suitable connection point.
74 @see XConnectionPoint::unadvise
76 void unadvise
( [in] type aType
,
77 [in] com
::sun
::star
::uno
::XInterface xListener
);
84 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */