@attentionDon'tusethisclassasdirectmember-useitdynamically.Donotderivefromthisclass. Weholdaweakreferencetoourownernottooursuperclass.
*/ class InterceptionHelper final : public ::cppu::WeakImplHelper<
css::frame::XDispatchProvider,
css::frame::XDispatchProviderInterception,
css::lang::XEventListener >
{
// structs, helper
/** @short bind an interceptor component to its URL pattern registration. */ struct InterceptorInfo
{ /** @short reference to the interceptor component. */
css::uno::Reference< css::frame::XDispatchProvider > xInterceptor;
/** @short it's registration for URL patterns.
@descrIftheinterceptorcomponentdoesnotsupporttheoptionalinterface XInterceptorInfo,itwillberegisteredforonepattern"*"bydefault. Thatwouldmakeitpossibletohandleitinthesamemannerthenreal
registered interceptor objects and we must not implement any special code. */
css::uno::Sequence< OUString > lURLPattern;
};
/** @short implements a list of items of type InterceptorInfo, and provides some special functionsonit.
@descrBecauseinterceptorobjectscanberegisteredforURLpatterns, itsupportsawildcardsearchonalllistitems.
*/ class InterceptorList : public ::std::deque< InterceptorInfo >
{ public:
/** @short search for an interceptor inside this list using it's reference.
/** @short reference to the frame, which uses this instance to implement its own interception.
@descr We hold a weak reference only, to make disposing operations easy. */
css::uno::WeakReference< css::frame::XFrame > m_xOwnerWeak;
/** @short this interception helper implements the top level master of an interceptor list ...
but this member is the lowest possible slave! */
rtl::Reference< DispatchProvider > m_xSlave;
/** @short contains all registered interceptor objects. */
InterceptorList m_lInterceptionRegs;
// native interface
public:
/** @short creates a new interception helper instance.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.