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 #ifndef __com_sun_star_ucb_XRemoteContentProviderConnectionControl_idl__
21 #define __com_sun_star_ucb_XRemoteContentProviderConnectionControl_idl__
23 #include
<com
/sun
/star
/uno
/XInterface.idl
>
25 module com
{ module sun
{ module star
{ module ucb
{
26 published
interface XRemoteContentProviderAcceptor
;
29 module com
{ module sun
{ module star
{ module ucb
{
31 /** A simple mechanism to find out if the connection between a remote content
32 provider distributor and acceptor gets lost.
34 <p>This interface should be supported by the <var>DoneListener</var>
36 XRemoteContentProviderAcceptor::addRemoteContentProvider().
39 @author Stephan Bergmann
41 published
interface XRemoteContentProviderConnectionControl
:
42 com
::sun
::star
::uno
::XInterface
44 /** Enable connection control, using as a token some object implemented on
45 the remote content provider acceptor's side.
47 <p>The implementation of this interface must hold a reference to the
48 supplied token. If the connection gets lost, the reference count of
49 the token will drop, which the remote content provider acceptor can
53 The remote content provider acceptor on the other side of the
57 Some object implemented on the remote content provider acceptor's side
61 enableConnectionControl
([in] XRemoteContentProviderAcceptor Acceptor
,
62 [in] com
::sun
::star
::uno
::XInterface Token
);
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */