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 .
20 module com
{ module sun
{ module star
{ module xml
{ module crypto
{ module sax
{
22 interface XReferenceResolvedListener
;
25 * Interface of Reference Resolved Broadcaster.
27 * This interface is used to manipulate reference resolved listener.
29 interface XReferenceResolvedBroadcaster
: com
::sun
::star
::uno
::XInterface
32 * Adds a new reference resolved listener for an element collector.
34 * When the element collector has completely collected that element,
35 * this listener will receive a notification.
37 * @param referenceId the id of the element collector for which
38 * the new listener is added
39 * @param listener the listener to be added
41 void addReferenceResolvedListener
(
42 [in] long referenceId
,
43 [in] XReferenceResolvedListener listener
);
46 * Removes a listener from an element collector.
48 * When a listener is removed, it will not receive notification when
49 * collection completes.
51 * @param referenceId the id of the element collector from which
52 * the listener is removed
53 * @param listener the listener to be removed
55 void removeReferenceResolvedListener
(
56 [in] long referenceId
,
57 [in] XReferenceResolvedListener listener
);
60 } ; } ; } ; } ; } ; } ;
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */