35#include <so_activex.h>
43 public IDispatchImpl<ISODispatchInterceptor, &IID_ISODispatchInterceptor, &LIBID_SO_ACTIVEXLib>,
44 public ISupportErrorInfo,
45 public CComObjectRoot,
46 public CComCoClass<SODispatchInterceptor,&CLSID_SODispatchInterceptor>
57 COM_INTERFACE_ENTRY(IDispatch)
59 COM_INTERFACE_ENTRY(ISupportErrorInfo)
61#pragma clang diagnostic push
62#pragma clang diagnostic ignored "-Winconsistent-missing-override"
66#pragma clang diagnostic pop
77 EnterCriticalSection( &
mMutex );
79 LeaveCriticalSection( &
mMutex );
84 EnterCriticalSection( &
mMutex );
86 LeaveCriticalSection( &
mMutex );
95 IDispatch __RPC_FAR *__RPC_FAR *retVal)
override
102 IDispatch __RPC_FAR *xNewDispatchProvider)
override
109 IDispatch __RPC_FAR *__RPC_FAR *retVal)
override
116 IDispatch __RPC_FAR *xNewSupplier)
override
123 IDispatch __RPC_FAR *aURL,
124 BSTR aTargetFrameName,
126 IDispatch __RPC_FAR *__RPC_FAR *retVal)
override;
129 SAFEARRAY __RPC_FAR * aDescripts,
130 SAFEARRAY __RPC_FAR * __RPC_FAR *retVal)
override;
132 virtual HRESULT STDMETHODCALLTYPE
dispatch(
133 IDispatch __RPC_FAR *aURL,
134 SAFEARRAY __RPC_FAR * aArgs)
override;
137 IDispatch __RPC_FAR *xControl,
138 IDispatch __RPC_FAR *aURL)
override;
141 IDispatch __RPC_FAR *xControl,
142 IDispatch __RPC_FAR *aURL)
override;
145 SAFEARRAY __RPC_FAR * __RPC_FAR *pVal)
override;
148 SAFEARRAY __RPC_FAR * __RPC_FAR *pVal)
override
150 *pVal = SafeArrayCreateVector(
VT_BSTR, 0, 4 );
156 CComBSTR aInterface( OLESTR(
"com.sun.star.frame.XDispatchProviderInterceptor" ) );
157 SafeArrayPutElement( *pVal, &ix, aInterface );
160 aInterface = CComBSTR( OLESTR(
"com.sun.star.frame.XDispatchProvider" ) );
161 SafeArrayPutElement( *pVal, &ix, aInterface );
164 aInterface = CComBSTR( OLESTR(
"com.sun.star.frame.XDispatch" ) );
165 SafeArrayPutElement( *pVal, &ix, aInterface );
168 aInterface = CComBSTR( OLESTR(
"com.sun.star.frame.XInterceptorInfo" ) );
169 SafeArrayPutElement( *pVal, &ix, aInterface );
virtual HRESULT STDMETHODCALLTYPE dispatch(IDispatch __RPC_FAR *aURL, SAFEARRAY __RPC_FAR *aArgs) override
virtual HRESULT STDMETHODCALLTYPE removeStatusListener(IDispatch __RPC_FAR *xControl, IDispatch __RPC_FAR *aURL) override
CComPtr< IDispatch > m_xMaster
virtual HRESULT STDMETHODCALLTYPE setMasterDispatchProvider(IDispatch __RPC_FAR *xNewSupplier) override
virtual HRESULT STDMETHODCALLTYPE getMasterDispatchProvider(IDispatch __RPC_FAR *__RPC_FAR *retVal) override
CSOActiveX * m_xParentControl
virtual HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces(SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
virtual HRESULT STDMETHODCALLTYPE addStatusListener(IDispatch __RPC_FAR *xControl, IDispatch __RPC_FAR *aURL) override
STDMETHOD() InterfaceSupportsErrorInfo(REFIID riid) override
virtual HRESULT STDMETHODCALLTYPE getInterceptedURLs(SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
CComPtr< IDispatch > m_xSlave
void SetParent(CSOActiveX *pParent)
virtual HRESULT STDMETHODCALLTYPE getSlaveDispatchProvider(IDispatch __RPC_FAR *__RPC_FAR *retVal) override
virtual HRESULT STDMETHODCALLTYPE queryDispatch(IDispatch __RPC_FAR *aURL, BSTR aTargetFrameName, long nSearchFlags, IDispatch __RPC_FAR *__RPC_FAR *retVal) override
virtual HRESULT STDMETHODCALLTYPE setSlaveDispatchProvider(IDispatch __RPC_FAR *xNewDispatchProvider) override
virtual ~SODispatchInterceptor()
virtual HRESULT STDMETHODCALLTYPE queryDispatches(SAFEARRAY __RPC_FAR *aDescripts, SAFEARRAY __RPC_FAR *__RPC_FAR *retVal) override
#define IDR_SODISPATCHINTERCEPTOR