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 .
19 #ifndef __com_sun_star_frame_XDispatchProviderInterceptor_idl__
20 #define __com_sun_star_frame_XDispatchProviderInterceptor_idl__
22 #include
<com
/sun
/star
/frame
/XDispatchProvider.idl
>
26 module com
{ module sun
{ module star
{ module frame
{
28 /** makes it possible to intercept request of XDispatch.
31 Can be registered as an interceptor by using interface XDispatchProviderInterception.
34 @see XDispatchProviderInterception
36 published
interface XDispatchProviderInterceptor
: XDispatchProvider
38 /** access to the slave XDispatchProvider of this interceptor
41 the slave of this interceptor
43 @see XDispatchProviderInterceptor::setSlaveDispatchProvider()
45 XDispatchProvider getSlaveDispatchProvider
();
47 /** sets the slave XDispatchProvider to which calls to
48 XDispatchProvider::queryDispatch() can be forwarded
49 under control of this dispatch provider.
51 @param NewDispatchProvider
52 the new slave of this interceptor
54 @see XDispatchProviderInterceptor::getSlaveDispatchProvider()
56 void setSlaveDispatchProvider
( [in] XDispatchProvider NewDispatchProvider
);
58 /** access to the master XDispatchProvider of this interceptor
61 the master of this interceptor
63 @see XDispatchProviderInterceptor::setMasterDispatchProvider()
65 XDispatchProvider getMasterDispatchProvider
();
67 /** sets the master XDispatchProvider, which may forward
68 calls to its XDispatchProvider::queryDispatch()
69 to this dispatch provider.
72 the master of this interceptor
74 @see XDispatchProviderInterceptor::getMasterDispatchProvider()
76 void setMasterDispatchProvider
( [in] XDispatchProvider NewSupplier
);
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */