LibreOffice Module extensions (master) 1
Public Member Functions | Private Attributes | List of all members
SODispatchInterceptor Class Reference

#include <SODispatchInterceptor.h>

Inheritance diagram for SODispatchInterceptor:
[legend]
Collaboration diagram for SODispatchInterceptor:
[legend]

Public Member Functions

 SODispatchInterceptor ()
 
virtual ~SODispatchInterceptor ()
 
void SetParent (CSOActiveX *pParent)
 
void ClearParent ()
 
STDMETHOD() InterfaceSupportsErrorInfo (REFIID riid) override
 
virtual HRESULT STDMETHODCALLTYPE getSlaveDispatchProvider (IDispatch __RPC_FAR *__RPC_FAR *retVal) override
 
virtual HRESULT STDMETHODCALLTYPE setSlaveDispatchProvider (IDispatch __RPC_FAR *xNewDispatchProvider) override
 
virtual HRESULT STDMETHODCALLTYPE getMasterDispatchProvider (IDispatch __RPC_FAR *__RPC_FAR *retVal) override
 
virtual HRESULT STDMETHODCALLTYPE setMasterDispatchProvider (IDispatch __RPC_FAR *xNewSupplier) override
 
virtual HRESULT STDMETHODCALLTYPE queryDispatch (IDispatch __RPC_FAR *aURL, BSTR aTargetFrameName, long nSearchFlags, IDispatch __RPC_FAR *__RPC_FAR *retVal) override
 
virtual HRESULT STDMETHODCALLTYPE queryDispatches (SAFEARRAY __RPC_FAR *aDescripts, SAFEARRAY __RPC_FAR *__RPC_FAR *retVal) override
 
virtual HRESULT STDMETHODCALLTYPE dispatch (IDispatch __RPC_FAR *aURL, SAFEARRAY __RPC_FAR *aArgs) override
 
virtual HRESULT STDMETHODCALLTYPE addStatusListener (IDispatch __RPC_FAR *xControl, IDispatch __RPC_FAR *aURL) override
 
virtual HRESULT STDMETHODCALLTYPE removeStatusListener (IDispatch __RPC_FAR *xControl, IDispatch __RPC_FAR *aURL) override
 
virtual HRESULT STDMETHODCALLTYPE getInterceptedURLs (SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
 
virtual HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces (SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
 

Private Attributes

CComPtr< IDispatch > m_xMaster
 
CComPtr< IDispatch > m_xSlave
 
CSOActiveXm_xParentControl
 
CRITICAL_SECTION mMutex
 

Detailed Description

Definition at line 42 of file SODispatchInterceptor.h.

Constructor & Destructor Documentation

◆ SODispatchInterceptor()

SODispatchInterceptor::SODispatchInterceptor ( )
inline

Definition at line 53 of file SODispatchInterceptor.h.

References mMutex.

◆ ~SODispatchInterceptor()

virtual SODispatchInterceptor::~SODispatchInterceptor ( )
inlinevirtual

Definition at line 54 of file SODispatchInterceptor.h.

References m_xParentControl, and mMutex.

Member Function Documentation

◆ addStatusListener()

STDMETHODIMP SODispatchInterceptor::addStatusListener ( IDispatch __RPC_FAR *  xControl,
IDispatch __RPC_FAR *  aURL 
)
overridevirtual

Definition at line 200 of file SODispatchInterceptor.cxx.

◆ ClearParent()

void SODispatchInterceptor::ClearParent ( )
inline

Definition at line 82 of file SODispatchInterceptor.h.

References m_xParentControl, and mMutex.

Referenced by CSOActiveX::Cleanup().

◆ dispatch()

STDMETHODIMP SODispatchInterceptor::dispatch ( IDispatch __RPC_FAR *  aURL,
SAFEARRAY __RPC_FAR *  aArgs 
)
overridevirtual

◆ get_Bridge_implementedInterfaces()

virtual HRESULT STDMETHODCALLTYPE SODispatchInterceptor::get_Bridge_implementedInterfaces ( SAFEARRAY __RPC_FAR *__RPC_FAR *  pVal)
inlineoverridevirtual

Definition at line 147 of file SODispatchInterceptor.h.

References LONG, and VT_BSTR.

◆ getInterceptedURLs()

STDMETHODIMP SODispatchInterceptor::getInterceptedURLs ( SAFEARRAY __RPC_FAR *__RPC_FAR *  pVal)
overridevirtual

Definition at line 213 of file SODispatchInterceptor.cxx.

References LONG, and VT_BSTR.

◆ getMasterDispatchProvider()

virtual HRESULT STDMETHODCALLTYPE SODispatchInterceptor::getMasterDispatchProvider ( IDispatch __RPC_FAR *__RPC_FAR *  retVal)
inlineoverridevirtual

Definition at line 108 of file SODispatchInterceptor.h.

References m_xMaster.

◆ getSlaveDispatchProvider()

virtual HRESULT STDMETHODCALLTYPE SODispatchInterceptor::getSlaveDispatchProvider ( IDispatch __RPC_FAR *__RPC_FAR *  retVal)
inlineoverridevirtual

Definition at line 94 of file SODispatchInterceptor.h.

References m_xSlave.

◆ InterfaceSupportsErrorInfo()

COM_DECLSPEC_NOTHROW STDMETHODIMP SODispatchInterceptor::InterfaceSupportsErrorInfo ( REFIID  riid)
override

Definition at line 34 of file SODispatchInterceptor.cxx.

References arr, and i.

◆ queryDispatch()

STDMETHODIMP SODispatchInterceptor::queryDispatch ( IDispatch __RPC_FAR *  aURL,
BSTR  aTargetFrameName,
long  nSearchFlags,
IDispatch __RPC_FAR *__RPC_FAR *  retVal 
)
overridevirtual

Definition at line 49 of file SODispatchInterceptor.cxx.

References aURL, ExecuteFunc(), hr, m_xSlave, and VT_BSTR.

Referenced by queryDispatches().

◆ queryDispatches()

STDMETHODIMP SODispatchInterceptor::queryDispatches ( SAFEARRAY __RPC_FAR *  aDescripts,
SAFEARRAY __RPC_FAR *__RPC_FAR *  retVal 
)
overridevirtual

◆ removeStatusListener()

STDMETHODIMP SODispatchInterceptor::removeStatusListener ( IDispatch __RPC_FAR *  xControl,
IDispatch __RPC_FAR *  aURL 
)
overridevirtual

Definition at line 206 of file SODispatchInterceptor.cxx.

◆ setMasterDispatchProvider()

virtual HRESULT STDMETHODCALLTYPE SODispatchInterceptor::setMasterDispatchProvider ( IDispatch __RPC_FAR *  xNewSupplier)
inlineoverridevirtual

Definition at line 115 of file SODispatchInterceptor.h.

References m_xMaster.

◆ SetParent()

void SODispatchInterceptor::SetParent ( CSOActiveX pParent)
inline

Definition at line 74 of file SODispatchInterceptor.h.

References m_xParentControl, and mMutex.

Referenced by CSOActiveX::LoadURLToFrame().

◆ setSlaveDispatchProvider()

virtual HRESULT STDMETHODCALLTYPE SODispatchInterceptor::setSlaveDispatchProvider ( IDispatch __RPC_FAR *  xNewDispatchProvider)
inlineoverridevirtual

Definition at line 101 of file SODispatchInterceptor.h.

References m_xSlave.

Member Data Documentation

◆ m_xMaster

CComPtr<IDispatch> SODispatchInterceptor::m_xMaster
private

Definition at line 48 of file SODispatchInterceptor.h.

Referenced by getMasterDispatchProvider(), and setMasterDispatchProvider().

◆ m_xParentControl

CSOActiveX* SODispatchInterceptor::m_xParentControl
private

Definition at line 50 of file SODispatchInterceptor.h.

Referenced by ClearParent(), dispatch(), SetParent(), and ~SODispatchInterceptor().

◆ m_xSlave

CComPtr<IDispatch> SODispatchInterceptor::m_xSlave
private

◆ mMutex

CRITICAL_SECTION SODispatchInterceptor::mMutex
private

The documentation for this class was generated from the following files: