/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #ifndef __com_sun_star_frame_XDispatchProviderInterceptor_idl__ #define __com_sun_star_frame_XDispatchProviderInterceptor_idl__ #ifndef __com_sun_star_frame_XDispatchProvider_idl__ #include #endif //============================================================================= module com { module sun { module star { module frame { //============================================================================= /** makes it possible to intercept request of XDispatch.

Can be registered as an interceptor by using interface XDispatchProviderInterception.

@see XDispatchProviderInterception */ published interface XDispatchProviderInterceptor: XDispatchProvider { //------------------------------------------------------------------------- /** access to the slave XDispatchProvider of this interceptor @returns the slave of this interceptor @see XDispatchProviderInterceptor::setSlaveDispatchProvider() */ XDispatchProvider getSlaveDispatchProvider(); //------------------------------------------------------------------------- /** sets the slave XDispatchProvider to which calls to XDispatchProvider::queryDispatch() can be forwarded under control of this dispatch provider. @param xNewDispatchProvider the new slave of this interceptor @see XDispatchProviderInterceptor::getSlaveDispatchProvider() */ void setSlaveDispatchProvider( [in] XDispatchProvider NewDispatchProvider ); //------------------------------------------------------------------------- /** access to the master XDispatchProvider of this interceptor @returns the master of this interceptor @see XDispatchProviderInterceptor::setMasterDispatchProvider() */ XDispatchProvider getMasterDispatchProvider(); //------------------------------------------------------------------------- /** sets the master XDispatchProvider, which may forward calls to its XDispatchProvider::queryDispatch() to this dispatch provider. @param NewSupplier the master of this interceptor @see XDispatchProviderInterceptor::getMasterDispatchProvider() */ void setMasterDispatchProvider( [in] XDispatchProvider NewSupplier ); }; //============================================================================= }; }; }; }; #endif