bump product version to 4.1.6.2
[LibreOffice.git] / offapi / com / sun / star / frame / XDispatchProviderInterceptor.idl
blob9a20db5402cc97c4779a55a3c5eb411c6433a95a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /**
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 <type>XDispatch</type>.
30 <p>
31 Can be registered as an interceptor by using interface <type>XDispatchProviderInterception</type>.
32 </p>
34 @see XDispatchProviderInterception
36 published interface XDispatchProviderInterceptor: XDispatchProvider
38 /** access to the slave <type>XDispatchProvider</type> of this interceptor
40 @returns
41 the slave of this interceptor
43 @see XDispatchProviderInterceptor::setSlaveDispatchProvider()
45 XDispatchProvider getSlaveDispatchProvider();
47 /** sets the slave <type>XDispatchProvider</type> to which calls to
48 <member>XDispatchProvider::queryDispatch()</member> can be forwarded
49 under control of this dispatch provider.
51 @param xNewDispatchProvider
52 the new slave of this interceptor
54 @see XDispatchProviderInterceptor::getSlaveDispatchProvider()
56 void setSlaveDispatchProvider( [in] XDispatchProvider NewDispatchProvider );
58 /** access to the master <type>XDispatchProvider</type> of this interceptor
60 @returns
61 the master of this interceptor
63 @see XDispatchProviderInterceptor::setMasterDispatchProvider()
65 XDispatchProvider getMasterDispatchProvider();
67 /** sets the master <type>XDispatchProvider</type>, which may forward
68 calls to its <member>XDispatchProvider::queryDispatch()</member>
69 to this dispatch provider.
71 @param NewSupplier
72 the master of this interceptor
74 @see XDispatchProviderInterceptor::getMasterDispatchProvider()
76 void setMasterDispatchProvider( [in] XDispatchProvider NewSupplier );
81 }; }; }; };
83 #endif
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */