35#include <so_activex.h>
40 public IDispatchImpl<ISOActionsApproval, &IID_ISOActionsApproval, &LIBID_SO_ACTIVEXLib>,
41 public ISupportErrorInfo,
42 public CComObjectRoot,
43 public CComCoClass<SOActionsApproval,&CLSID_SOActionsApproval>
50 COM_INTERFACE_ENTRY(IDispatch)
52 COM_INTERFACE_ENTRY(ISupportErrorInfo)
54#pragma clang diagnostic push
55#pragma clang diagnostic ignored "-Winconsistent-missing-override"
59#pragma clang diagnostic pop
73 boolean *pbApproval)
override
77 *pbApproval = ( nActionID == 1 );
83 SAFEARRAY __RPC_FAR * __RPC_FAR *pVal)
override
85 *pVal = SafeArrayCreateVector(
VT_BSTR, 0, 1 );
91 CComBSTR aInterface( OLESTR(
"com.sun.star.embed.XActionsApproval" ) );
92 SafeArrayPutElement( *pVal, &ix, aInterface );
STDMETHOD() InterfaceSupportsErrorInfo(REFIID riid) override
virtual HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces(SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
virtual ~SOActionsApproval()
virtual HRESULT STDMETHODCALLTYPE approveAction(long nActionID, boolean *pbApproval) override
#define IDR_SODOCUMENTEVENTLISTENER