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/.
10 #ifndef __com_sun_star_script_XEventAttacher2_idl__
11 #define __com_sun_star_script_XEventAttacher2_idl__
13 #include
<com
/sun
/star
/script
/XEventAttacher.idl
>
14 #include
<com
/sun
/star
/lang
/XEventListener.idl
>
15 #include
<com
/sun
/star
/script
/EventListener.idl
>
17 module com
{ module sun
{ module star
{ module script
{
19 interface XEventAttacher2
: com
::sun
::star
::script
::XEventAttacher
21 /** Register a multiple set of listeners listening for the same
22 target. Besides passing multiple listeners, the behavior of
23 this method is identical to that of
24 attachSingleEventListener().
26 @see com::sun::star::script::XEventAttacher::attachSingleEventListener
28 sequence
<com
::sun
::star
::lang
::XEventListener
>
29 attachMultipleEventListeners
(
30 [in] com
::sun
::star
::uno
::XInterface xTarget
,
31 [in] sequence
<com
::sun
::star
::script
::EventListener
> aListeners
)
32 raises
( com
::sun
::star
::lang
::IllegalArgumentException
,
33 com
::sun
::star
::beans
::IntrospectionException
,
34 com
::sun
::star
::script
::CannotCreateAdapterException
,
35 com
::sun
::star
::lang
::ServiceNotRegisteredException
);
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */